#9B4DEB#9B4DEB
#9B4DEB is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.4% C 0.227 H 302.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9B4DEB |
|---|---|
| RGB | rgb(155, 77, 235) |
| HSL | hsl(270, 80%, 61%) |
| HSV | hsv(270, 67%, 92%) |
| CMYK | cmyk(34%, 67.2%, 0%, 7.8%) |
| CIE-LAB | lab(49.83, 61.04, -67.33) |
| CIE-LCH | lch(49.83, 90.88, 312.20°) |
| OKLab | oklab(59.43% 0.1224 -0.1915) |
| OKLCH | oklch(59.43% 0.227 302.6) |
| XYZ | xyz(31.1633, 18.2744, 80.4667) |
| Luminance | 0.1827 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.49
Purpley
#8756E4
ΔE00 3.71
Lighter Purple
#A55AF4
ΔE00 4.03
Electric Purple
#AA23FF
ΔE00 5.12
Bright Violet
#AD0AFD
ΔE00 6.25
Neon Purple
#BC13FE
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B4DEB #9DEB4D
analogous
#4D4EEB #9B4DEB #EA4DEB
triadic
#9B4DEB #EB9B4D #4DEB9B
tetradic
#9B4DEB #EB4D4E #9DEB4D #4DEBEA
square
#9B4DEB #EB4D4E #9DEB4D #4DEBEA
split-complementary
#9B4DEB #EBEA4D #4EEB4D
monochromatic
#5E13AA #7C19E1 #9B4DEB #BA84F1 #D9BBF7
Accessibility & contrast
On white
4.51
#9B4DEB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#9B4DEB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B4DEB
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B4DEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B4DEB | 1.00 | 4.51 | 4.65 | 4.65 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 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: #9b4deb; /* rgb */ color: rgb(155, 77, 235); /* oklch */ color: oklch(59.4% 0.227 302.6);
Tailwind
colors: {
custom: {
50: '#be84f2',
500: '#9b4deb',
950: '#000000',
},
}SCSS
$custom: #9b4deb; $custom-light: #be84f2; $custom-dark: #000000;
JSON
{
"hex": "#9b4deb",
"rgb": {
"r": 155,
"g": 77,
"b": 235
},
"hsl": {
"h": 269.62,
"s": 79.798,
"l": 61.176
},
"oklch": {
"l": 0.59433,
"c": 0.2273,
"h": 302.6
},
"luminance": 0.18274
}Semantic roles & 50–950 ramp
primary
#9B4DEB
secondary
#CAE8AC
accent
#DC0974
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85