#9E5BEE#9E5BEE
#9E5BEE is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.8% C 0.213 H 301.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #9E5BEE |
|---|---|
| RGB | rgb(158, 91, 238) |
| HSL | hsl(267, 81%, 65%) |
| HSV | hsv(267, 62%, 93%) |
| CMYK | cmyk(33.6%, 61.8%, 0%, 6.7%) |
| CIE-LAB | lab(52.87, 55.54, -64.08) |
| CIE-LCH | lch(52.87, 84.80, 310.92°) |
| OKLab | oklab(61.76% 0.111 -0.1819) |
| OKLCH | oklch(61.76% 0.213 301.4) |
| XYZ | xyz(33.2706, 20.9242, 83.1583) |
| Luminance | 0.2092 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.36
Lightish Purple
#A552E6
ΔE00 2.66
Purpley
#8756E4
ΔE00 4.71
Mediumpurple
#9370DB
ΔE00 6.10
Light Urple
#B36FF6
ΔE00 6.46
Mediumslateblue
#7B68EE
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E5BEE #ABEE5B
analogous
#5B62EE #9E5BEE #E75BEE
triadic
#9E5BEE #EE9E5B #5BEE9E
tetradic
#9E5BEE #EE5B62 #ABEE5B #5BEEE7
square
#9E5BEE #EE5B62 #ABEE5B #5BEEE7
split-complementary
#9E5BEE #EEE75B #62EE5B
monochromatic
#6013BB #7D24E8 #9E5BEE #BF92F4 #E0CAF9
Accessibility & contrast
On white
4.05
#9E5BEE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#9E5BEE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E5BEE
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E5BEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E5BEE | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DF3
Deuteranopia (green-blind)
#277DEB
Tritanopia (blue-blind)
#8D7B9C
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #9e5bee; /* rgb */ color: rgb(158, 91, 238); /* oklch */ color: oklch(61.8% 0.213 301.4);
Tailwind
colors: {
custom: {
50: '#bf8df4',
500: '#9e5bee',
950: '#000000',
},
}SCSS
$custom: #9e5bee; $custom-light: #bf8df4; $custom-dark: #000000;
JSON
{
"hex": "#9e5bee",
"rgb": {
"r": 158,
"g": 91,
"b": 238
},
"hsl": {
"h": 267.347,
"s": 81.215,
"l": 64.51
},
"oklch": {
"l": 0.61762,
"c": 0.21308,
"h": 301.4
},
"luminance": 0.20924
}Semantic roles & 50–950 ramp
primary
#9E5BEE
secondary
#D5ECB9
accent
#DE087C
background
#FCF8FF
surface
#F8F0FE
border
#D1CBD6
text
#130C17
muted
#827D85