#9E5EE3#9E5EE3
#9E5EE3 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.5% C 0.197 H 303.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9E5EE3 |
|---|---|
| RGB | rgb(158, 94, 227) |
| HSL | hsl(269, 70%, 63%) |
| HSV | hsv(269, 59%, 89%) |
| CMYK | cmyk(30.4%, 58.6%, 0%, 11%) |
| CIE-LAB | lab(52.75, 51.36, -58.09) |
| CIE-LCH | lch(52.75, 77.54, 311.48°) |
| OKLab | oklab(61.46% 0.1078 -0.1643) |
| OKLCH | oklch(61.46% 0.197 303.3) |
| XYZ | xyz(31.9652, 20.8206, 74.9929) |
| Luminance | 0.2082 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.51
Lightish Purple
#A552E6
ΔE00 2.69
Purpley
#8756E4
ΔE00 5.04
Mediumpurple
#9370DB
ΔE00 5.25
Amethyst
#9B5FC0
ΔE00 5.78
Light Urple
#B36FF6
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E5EE3 #A3E35E
analogous
#5E60E3 #9E5EE3 #E05EE3
triadic
#9E5EE3 #E39E5E #5EE39E
tetradic
#9E5EE3 #E35E60 #A3E35E #5EE3E0
square
#9E5EE3 #E35E60 #A3E35E #5EE3E0
split-complementary
#9E5EE3 #E3E05E #60E35E
monochromatic
#611DA9 #7F2ADA #9E5EE3 #BD92EC #DDC6F5
Accessibility & contrast
On white
4.07
#9E5EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.16
#9E5EE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E5EE3
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E5EE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E5EE3 | 1.00 | 4.07 | 5.16 | 5.16 |
| #FFFFFF | 4.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D7DE7
Deuteranopia (green-blind)
#3D7EE0
Tritanopia (blue-blind)
#917998
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #9e5ee3; /* rgb */ color: rgb(158, 94, 227); /* oklch */ color: oklch(61.5% 0.197 303.3);
Tailwind
colors: {
custom: {
50: '#bf8eec',
500: '#9e5ee3',
950: '#000000',
},
}SCSS
$custom: #9e5ee3; $custom-light: #bf8eec; $custom-dark: #000000;
JSON
{
"hex": "#9e5ee3",
"rgb": {
"r": 158,
"g": 94,
"b": 227
},
"hsl": {
"h": 268.872,
"s": 70.37,
"l": 62.941
},
"oklch": {
"l": 0.6146,
"c": 0.19653,
"h": 303.3
},
"luminance": 0.20821
}Semantic roles & 50–950 ramp
primary
#9E5EE3
secondary
#CFE6B6
accent
#D21376
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84