#9B4EEF#9B4EEF
#9B4EEF is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.8% C 0.230 H 301.7°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9B4EEF |
|---|---|
| RGB | rgb(155, 78, 239) |
| HSL | hsl(269, 83%, 62%) |
| HSV | hsv(269, 67%, 94%) |
| CMYK | cmyk(35.1%, 67.4%, 0%, 6.3%) |
| CIE-LAB | lab(50.27, 61.51, -68.85) |
| CIE-LCH | lch(50.27, 92.32, 311.78°) |
| OKLab | oklab(59.84% 0.1209 -0.196) |
| OKLCH | oklch(59.84% 0.23 301.7) |
| XYZ | xyz(31.8182, 18.6492, 83.5680) |
| Luminance | 0.1865 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.59
Lighter Purple
#A55AF4
ΔE00 3.63
Purpley
#8756E4
ΔE00 3.72
Electric Purple
#AA23FF
ΔE00 5.22
Neon Purple
#BC13FE
ΔE00 6.38
Bright Violet
#AD0AFD
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B4EEF #A2EF4E
analogous
#4E51EF #9B4EEF #EC4EEF
triadic
#9B4EEF #EF9B4E #4EEF9B
tetradic
#9B4EEF #EF4E51 #A2EF4E #4EEFEC
square
#9B4EEF #EF4E51 #A2EF4E #4EEFEC
split-complementary
#9B4EEF #EFEC4E #51EF4E
monochromatic
#5E10B2 #7B16EA #9B4EEF #BB86F4 #DABEF9
Accessibility & contrast
On white
4.44
#9B4EEF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#9B4EEF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B4EEF
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B4EEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B4EEF | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F4
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#897399
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #9b4eef; /* rgb */ color: rgb(155, 78, 239); /* oklch */ color: oklch(59.8% 0.230 301.7);
Tailwind
colors: {
custom: {
50: '#be85f5',
500: '#9b4eef',
950: '#000000',
},
}SCSS
$custom: #9b4eef; $custom-light: #be85f5; $custom-dark: #000000;
JSON
{
"hex": "#9b4eef",
"rgb": {
"r": 155,
"g": 78,
"b": 239
},
"hsl": {
"h": 268.696,
"s": 83.42,
"l": 62.157
},
"oklch": {
"l": 0.59841,
"c": 0.23027,
"h": 301.7
},
"luminance": 0.18649
}Semantic roles & 50–950 ramp
primary
#9B4EEF
secondary
#CEEAAF
accent
#E00677
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130B17
muted
#827C85