Violet 400
violet-400 · #A78BFA
HEX
#A78BFA
RGB
rgb(167, 139, 250)
CMYK
cmyk(33%, 44%, 0%, 2%)
HSL
hsl(255, 92%, 76%)
LAB
lab(64.6, 34.6, -51.9)
What is Violet 400?
Violet 400 is the violet-400 reference in the Tailwind CSS palette. Its sRGB value is #A78BFA (rgb 167, 139, 250). It sits in the purple family. The default color palette shipped with Tailwind CSS v3 by Tailwind Labs. 22 color families across 11 lightness steps (50 to 950). See disclaimer for accuracy and trademark notes.
Accessibility
WCAG 2.1 contrast checks for Violet 400 as a background.
Black text on this color
White text on this color
Shades, tints & tonal scale of Violet 400
An 11-step tonal scale derived from Violet 400 (#A78BFA). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.
50
#F8F6FF
#F8F6FF
100
#F1ECFE
#F1ECFE
200
#E3DAFD
#E3DAFD
300
#D3C5FD
#D3C5FD
400
#BDA8FB
#BDA8FB
500
#A78BFA
#A78BFA
600
#8E76D5
#8E76D5
700
#6D5AA3
#6D5AA3
800
#4B3F71
#4B3F71
900
#2A233F
#2A233F
950
#14111E
#14111E
Lighter tints (mixed with white)
15%
#B8A4FB
30%
#C7B8FC
45%
#D5CAFC
60%
#E1DAFD
75%
#EDE9FE
Darker shades (mixed with black)
15%
#9B81E9
30%
#8E76D6
45%
#7F69C0
60%
#6E5AA6
75%
#584886
Color harmonies for Violet 400
Classic color-theory harmonies derived from rotating the hue of Violet 400. Use these to build accent palettes, brand systems, and accessible UI color pairings.
Complementary
180° opposite — strongest contrast
#A78BFA
#A78BFA
#DEFA89
#DEFA89
Triadic
Three colors 120° apart
#A78BFA
#A78BFA
#FAA689
#FAA689
#89FAA6
#89FAA6
Analogous
Two neighbors ±30° on the wheel
#89A6FA
#89A6FA
#A78BFA
#A78BFA
#DE89FA
#DE89FA
Split-complementary
Base + two colors flanking its complement
#A78BFA
#A78BFA
#FADE89
#FADE89
#A6FA89
#A6FA89
Tetradic
Two complementary pairs
#A78BFA
#A78BFA
#FA89DE
#FA89DE
#DEFA89
#DEFA89
#89FAA6
#89FAA6
Square
Four colors evenly spaced 90° apart
#A78BFA
#A78BFA
#FA89A6
#FA89A6
#DEFA89
#DEFA89
#89FADE
#89FADE
Violet 400 in every color space
Full conversion of Violet 400 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.
HEX
#A78BFA
RGB
rgb(167, 139, 250)
CMYK
cmyk(33%, 44%, 0%, 2%)
HSL
hsl(255, 92%, 76%)
HSV
hsv(255, 44%, 98%)
HWB
hwb(255 55% 2%)
CIE Lab
lab(64.6 34.6 -51.9)
OKLCH
oklch(70.9% 0.159 293.5)
XYZ (D65)
xyz(42.42, 33.58, 94.67)
Copy-ready code for Violet 400
Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.
CSS
color: #A78BFA;
background-color: #A78BFA;CSS variable
:root {
--color-violet-400: #A78BFA;
}Tailwind config
// tailwind.config.js
colors: {
'violet-400': '#A78BFA',
}Sass
$color-violet-400: #A78BFA;Swift UIColor
UIColor(red: 0.655, green: 0.545, blue: 0.980, alpha: 1.0)Android XML
<color name="violet-400">#A78BFA</color>Closest match in every color system
The nearest Violet 400 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.
Closest in Tailwind CSS palette
Top 6 ΔE2000-closest entries within the same collection.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 7001
#8F999F
Silver grey
RAL 7000
#7E8B92
Squirrel grey
RAL 7040
#9DA1AA
Window grey
RAL 7004
#9EA0A1
Signal grey
RAL 5014
#606E8C
Pigeon blue
RAL 5012
#3B83BD
Light blue
FAQ about Violet 400
What is the HEX code for Violet 400?
Violet 400 (violet-400) has the HEX code #A78BFA. In RGB it is rgb(167, 139, 250), and in CMYK it is cmyk(33%, 44%, 0%, 2%).
What is the OKLCH value of Violet 400?
Violet 400 converts to oklch(0.709 0.159 293.5). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.
Is Violet 400 accessible for body text?
Used as a background, Violet 400 has a contrast ratio of 7.72:1 with black text and 2.72:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use black text and verify in real UI context.
What is the closest Pantone to Violet 400?
The closest Pantone reference to Violet 400 by ΔE2000 perceptual distance is Pantone 270 C (#A696D4). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.
What is the closest RAL color to Violet 400?
The closest RAL Classic reference to Violet 400 by ΔE2000 distance is RAL 7001 (Silver grey, #8F999F). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.
What is the complementary color of Violet 400?
The complementary color (180° opposite on the HSL color wheel) of Violet 400 is #DEFA89. Use it for high-contrast accents, error states, or call-to-action pairings.
Data provenance & source
Tailwind CSS default palette (v3)
The default color palette shipped with Tailwind CSS v3 by Tailwind Labs Inc. Use as a reference for design tokens, web color systems, and Tailwind-based design conversations. Names like 'blue-500' are the project's own naming convention.
- Source type
- derived
- Confidence
- high
- License
- MIT
- Last reviewed
- 2026-05-24
Workflow tags
Tailwind palette values are designed for digital interfaces under sRGB. For print, convert to a process-appropriate value and proof against the substrate; do not rely on sRGB CMYK conversion for color-critical print work.