#9B4CE4#9B4CE4
#9B4CE4 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.8% C 0.221 H 304.2°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #9B4CE4 |
|---|---|
| RGB | rgb(155, 76, 228) |
| HSL | hsl(271, 74%, 60%) |
| HSV | hsv(271, 67%, 89%) |
| CMYK | cmyk(32%, 66.7%, 0%, 10.6%) |
| CIE-LAB | lab(49.18, 59.88, -64.43) |
| CIE-LCH | lch(49.18, 87.96, 312.90°) |
| OKLab | oklab(58.82% 0.1243 -0.183) |
| OKLCH | oklch(58.82% 0.221 304.2) |
| XYZ | xyz(30.1024, 17.7390, 75.2218) |
| Luminance | 0.1774 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.57
Purpley
#8756E4
ΔE00 3.91
Lighter Purple
#A55AF4
ΔE00 4.72
Electric Purple
#AA23FF
ΔE00 5.25
Bright Violet
#AD0AFD
ΔE00 6.21
Neon Purple
#BC13FE
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B4CE4 #95E44C
analogous
#4F4CE4 #9B4CE4 #E44CE1
triadic
#9B4CE4 #E49B4C #4CE49B
tetradic
#9B4CE4 #E44F4C #95E44C #4CE1E4
square
#9B4CE4 #E44F4C #95E44C #4CE1E4
split-complementary
#9B4CE4 #E1E44C #4CE44F
monochromatic
#5D189E #7D20D3 #9B4CE4 #B981EC #D6B6F4
Accessibility & contrast
On white
4.62
#9B4CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#9B4CE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9B4CE4
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B4CE4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B4CE4 | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E9
Deuteranopia (green-blind)
#1175E1
Tritanopia (blue-blind)
#8D6E92
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #9b4ce4; /* rgb */ color: rgb(155, 76, 228); /* oklch */ color: oklch(58.8% 0.221 304.2);
Tailwind
colors: {
custom: {
50: '#be83ed',
500: '#9b4ce4',
950: '#000000',
},
}SCSS
$custom: #9b4ce4; $custom-light: #be83ed; $custom-dark: #000000;
JSON
{
"hex": "#9b4ce4",
"rgb": {
"r": 155,
"g": 76,
"b": 228
},
"hsl": {
"h": 271.184,
"s": 73.786,
"l": 59.608
},
"oklch": {
"l": 0.58816,
"c": 0.22122,
"h": 304.2
},
"luminance": 0.17739
}Semantic roles & 50–950 ramp
primary
#9B4CE4
secondary
#C5E3A8
accent
#F03790
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84