#9A4CEB#9A4CEB
#9A4CEB is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.2% C 0.228 H 302.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9A4CEB |
|---|---|
| RGB | rgb(154, 76, 235) |
| HSL | hsl(269, 80%, 61%) |
| HSV | hsv(269, 68%, 92%) |
| CMYK | cmyk(34.5%, 67.7%, 0%, 7.8%) |
| CIE-LAB | lab(49.54, 61.31, -67.80) |
| CIE-LCH | lch(49.54, 91.41, 312.12°) |
| OKLab | oklab(59.2% 0.1221 -0.1929) |
| OKLCH | oklch(59.2% 0.228 302.3) |
| XYZ | xyz(30.9027, 18.0370, 80.4346) |
| Luminance | 0.1804 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.78
Purpley
#8756E4
ΔE00 3.63
Lighter Purple
#A55AF4
ΔE00 4.32
Electric Purple
#AA23FF
ΔE00 4.98
Bright Violet
#AD0AFD
ΔE00 6.09
Neon Purple
#BC13FE
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A4CEB #9DEB4C
analogous
#4C4DEB #9A4CEB #E94CEB
triadic
#9A4CEB #EB9A4C #4CEB9A
tetradic
#9A4CEB #EB4C4D #9DEB4C #4CEBE9
square
#9A4CEB #EB4C4D #9DEB4C #4CEBE9
split-complementary
#9A4CEB #EBE94C #4DEB4C
monochromatic
#5D13AA #7B19E1 #9A4CEB #B983F1 #D8BAF7
Accessibility & contrast
On white
4.56
#9A4CEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#9A4CEB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A4CEB
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A4CEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A4CEB | 1.00 | 4.56 | 4.61 | 4.61 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#897196
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9a4ceb; /* rgb */ color: rgb(154, 76, 235); /* oklch */ color: oklch(59.2% 0.228 302.3);
Tailwind
colors: {
custom: {
50: '#bd83f2',
500: '#9a4ceb',
950: '#000000',
},
}SCSS
$custom: #9a4ceb; $custom-light: #bd83f2; $custom-dark: #000000;
JSON
{
"hex": "#9a4ceb",
"rgb": {
"r": 154,
"g": 76,
"b": 235
},
"hsl": {
"h": 269.434,
"s": 79.899,
"l": 60.98
},
"oklch": {
"l": 0.59202,
"c": 0.22833,
"h": 302.3
},
"luminance": 0.18037
}Semantic roles & 50–950 ramp
primary
#9A4CEB
secondary
#CAE7AB
accent
#DC0975
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85