#9A4AE6#9A4AE6
#9A4AE6 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.6% C 0.226 H 303.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9A4AE6 |
|---|---|
| RGB | rgb(154, 74, 230) |
| HSL | hsl(271, 76%, 60%) |
| HSV | hsv(271, 68%, 90%) |
| CMYK | cmyk(33%, 67.8%, 0%, 9.8%) |
| CIE-LAB | lab(48.86, 61.07, -66.08) |
| CIE-LCH | lch(48.86, 89.98, 312.74°) |
| OKLab | oklab(58.61% 0.1248 -0.1878) |
| OKLCH | oklch(58.61% 0.226 303.6) |
| XYZ | xyz(30.0548, 17.4808, 76.6383) |
| Luminance | 0.1748 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.01
Purpley
#8756E4
ΔE00 3.88
Electric Purple
#AA23FF
ΔE00 4.88
Lighter Purple
#A55AF4
ΔE00 5.02
Bright Violet
#AD0AFD
ΔE00 5.85
Neon Purple
#BC13FE
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A4AE6 #96E64A
analogous
#4C4AE6 #9A4AE6 #E64AE4
triadic
#9A4AE6 #E69A4A #4AE69A
tetradic
#9A4AE6 #E64C4A #96E64A #4AE4E6
square
#9A4AE6 #E64C4A #96E64A #4AE4E6
split-complementary
#9A4AE6 #E4E64A #4AE64C
monochromatic
#5D16A0 #7C1DD5 #9A4AE6 #B880ED #D6B6F5
Accessibility & contrast
On white
4.67
#9A4AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#9A4AE6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9A4AE6
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A4AE6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A4AE6 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072EB
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#8B6E92
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9a4ae6; /* rgb */ color: rgb(154, 74, 230); /* oklch */ color: oklch(58.6% 0.226 303.6);
Tailwind
colors: {
custom: {
50: '#bd82ef',
500: '#9a4ae6',
950: '#000000',
},
}SCSS
$custom: #9a4ae6; $custom-light: #bd82ef; $custom-dark: #000000;
JSON
{
"hex": "#9a4ae6",
"rgb": {
"r": 154,
"g": 74,
"b": 230
},
"hsl": {
"h": 270.769,
"s": 75.728,
"l": 59.608
},
"oklch": {
"l": 0.58606,
"c": 0.22555,
"h": 303.6
},
"luminance": 0.17481
}Semantic roles & 50–950 ramp
primary
#9A4AE6
secondary
#C5E4A8
accent
#F23591
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85