#9E5FE9#9E5FE9
#9E5FE9 is a mid, highly saturated violet. Relative luminance 0.213; OKLCH L 62.0% C 0.202 H 301.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #9E5FE9 |
|---|---|
| RGB | rgb(158, 95, 233) |
| HSL | hsl(267, 76%, 64%) |
| HSV | hsv(267, 59%, 91%) |
| CMYK | cmyk(32.2%, 59.2%, 0%, 8.6%) |
| CIE-LAB | lab(53.32, 52.28, -60.55) |
| CIE-LCH | lch(53.32, 80.00, 310.81°) |
| OKLab | oklab(61.99% 0.1065 -0.1716) |
| OKLCH | oklch(61.99% 0.202 301.8) |
| XYZ | xyz(32.8973, 21.3366, 79.4602) |
| Luminance | 0.2134 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.90
Lightish Purple
#A552E6
ΔE00 3.08
Purpley
#8756E4
ΔE00 5.13
Mediumpurple
#9370DB
ΔE00 5.15
Light Urple
#B36FF6
ΔE00 5.86
Amethyst
#9B5FC0
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E5FE9 #AAE95F
analogous
#5F65E9 #9E5FE9 #E35FE9
triadic
#9E5FE9 #E99E5F #5FE99E
tetradic
#9E5FE9 #E95F65 #AAE95F #5FE9E3
square
#9E5FE9 #E95F65 #AAE95F #5FE9E3
split-complementary
#9E5FE9 #E9E35F #65E95F
monochromatic
#6019B5 #7D29E2 #9E5FE9 #BF95F0 #DFCBF8
Accessibility & contrast
On white
3.99
#9E5FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#9E5FE9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E5FE9
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E5FE9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E5FE9 | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#117EED
Deuteranopia (green-blind)
#377FE6
Tritanopia (blue-blind)
#8F7C9B
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #9e5fe9; /* rgb */ color: rgb(158, 95, 233); /* oklch */ color: oklch(62.0% 0.202 301.8);
Tailwind
colors: {
custom: {
50: '#bf8ff1',
500: '#9e5fe9',
950: '#000000',
},
}SCSS
$custom: #9e5fe9; $custom-light: #bf8ff1; $custom-dark: #000000;
JSON
{
"hex": "#9e5fe9",
"rgb": {
"r": 158,
"g": 95,
"b": 233
},
"hsl": {
"h": 267.391,
"s": 75.824,
"l": 64.314
},
"oklch": {
"l": 0.61989,
"c": 0.20194,
"h": 301.8
},
"luminance": 0.21337
}Semantic roles & 50–950 ramp
primary
#9E5FE9
secondary
#D4EABA
accent
#D80D7C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D17
muted
#827D85