#9B4CEB#9B4CEB
#9B4CEB is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.3% C 0.229 H 302.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #9B4CEB |
|---|---|
| RGB | rgb(155, 76, 235) |
| HSL | hsl(270, 80%, 61%) |
| HSV | hsv(270, 68%, 92%) |
| CMYK | cmyk(34%, 67.7%, 0%, 7.8%) |
| CIE-LAB | lab(49.66, 61.50, -67.60) |
| CIE-LCH | lch(49.66, 91.39, 312.30°) |
| OKLab | oklab(59.31% 0.1235 -0.1923) |
| OKLCH | oklch(59.31% 0.229 302.7) |
| XYZ | xyz(31.0939, 18.1356, 80.4435) |
| Luminance | 0.1814 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.61
Purpley
#8756E4
ΔE00 3.77
Lighter Purple
#A55AF4
ΔE00 4.21
Electric Purple
#AA23FF
ΔE00 4.96
Bright Violet
#AD0AFD
ΔE00 6.07
Neon Purple
#BC13FE
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B4CEB #9CEB4C
analogous
#4C4CEB #9B4CEB #EA4CEB
triadic
#9B4CEB #EB9B4C #4CEB9B
tetradic
#9B4CEB #EB4C4C #9CEB4C #4CEBEA
square
#9B4CEB #EB4C4C #9CEB4C #4CEBEA
split-complementary
#9B4CEB #EBEA4C #4CEB4C
monochromatic
#5E13AA #7C19E1 #9B4CEB #BA83F1 #D9BAF7
Accessibility & contrast
On white
4.54
#9B4CEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#9B4CEB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B4CEB
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B4CEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B4CEB | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#0076E8
Tritanopia (blue-blind)
#8B7196
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9b4ceb; /* rgb */ color: rgb(155, 76, 235); /* oklch */ color: oklch(59.3% 0.229 302.7);
Tailwind
colors: {
custom: {
50: '#be83f2',
500: '#9b4ceb',
950: '#000000',
},
}SCSS
$custom: #9b4ceb; $custom-light: #be83f2; $custom-dark: #000000;
JSON
{
"hex": "#9b4ceb",
"rgb": {
"r": 155,
"g": 76,
"b": 235
},
"hsl": {
"h": 269.811,
"s": 79.899,
"l": 60.98
},
"oklch": {
"l": 0.59314,
"c": 0.22852,
"h": 302.7
},
"luminance": 0.18136
}Semantic roles & 50–950 ramp
primary
#9B4CEB
secondary
#CAE7AB
accent
#DC0973
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85