#9B4EE4#9B4EE4
#9B4EE4 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.1% C 0.219 H 304.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9B4EE4 |
|---|---|
| RGB | rgb(155, 78, 228) |
| HSL | hsl(271, 74%, 60%) |
| HSV | hsv(271, 66%, 89%) |
| CMYK | cmyk(32%, 65.8%, 0%, 10.6%) |
| CIE-LAB | lab(49.52, 58.94, -63.88) |
| CIE-LCH | lch(49.52, 86.91, 312.70°) |
| OKLab | oklab(59.06% 0.1222 -0.1814) |
| OKLCH | oklch(59.06% 0.219 304) |
| XYZ | xyz(30.2424, 18.0189, 75.2685) |
| Luminance | 0.1802 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.28
Purpley
#8756E4
ΔE00 3.78
Lighter Purple
#A55AF4
ΔE00 4.36
Electric Purple
#AA23FF
ΔE00 5.55
Bright Violet
#AD0AFD
ΔE00 6.55
Neon Purple
#BC13FE
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B4EE4 #97E44E
analogous
#504EE4 #9B4EE4 #E44EE2
triadic
#9B4EE4 #E49B4E #4EE49B
tetradic
#9B4EE4 #E4504E #97E44E #4EE2E4
square
#9B4EE4 #E4504E #97E44E #4EE2E4
split-complementary
#9B4EE4 #E2E44E #4EE450
monochromatic
#5E189F #7D20D4 #9B4EE4 #B983EC #D7B8F4
Accessibility & contrast
On white
4.56
#9B4EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#9B4EE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B4EE4
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B4EE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B4EE4 | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E9
Deuteranopia (green-blind)
#1876E1
Tritanopia (blue-blind)
#8D6F93
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9b4ee4; /* rgb */ color: rgb(155, 78, 228); /* oklch */ color: oklch(59.1% 0.219 304.0);
Tailwind
colors: {
custom: {
50: '#bd84ed',
500: '#9b4ee4',
950: '#000000',
},
}SCSS
$custom: #9b4ee4; $custom-light: #bd84ed; $custom-dark: #000000;
JSON
{
"hex": "#9b4ee4",
"rgb": {
"r": 155,
"g": 78,
"b": 228
},
"hsl": {
"h": 270.8,
"s": 73.529,
"l": 60
},
"oklch": {
"l": 0.59061,
"c": 0.21868,
"h": 304
},
"luminance": 0.18019
}Semantic roles & 50–950 ramp
primary
#9B4EE4
secondary
#C6E4AA
accent
#F03891
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84