#9E5FE2#9E5FE2
#9E5FE2 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.5% C 0.194 H 303.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #9E5FE2 |
|---|---|
| RGB | rgb(158, 95, 226) |
| HSL | hsl(269, 69%, 63%) |
| HSV | hsv(269, 58%, 89%) |
| CMYK | cmyk(30.1%, 58%, 0%, 11.4%) |
| CIE-LAB | lab(52.89, 50.60, -57.30) |
| CIE-LCH | lch(52.89, 76.45, 311.45°) |
| OKLab | oklab(61.54% 0.1066 -0.162) |
| OKLCH | oklch(61.54% 0.194 303.3) |
| XYZ | xyz(31.9171, 20.9445, 74.2980) |
| Luminance | 0.2094 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.68
Lightish Purple
#A552E6
ΔE00 2.91
Mediumpurple
#9370DB
ΔE00 5.03
Purpley
#8756E4
ΔE00 5.20
Amethyst
#9B5FC0
ΔE00 5.64
Light Urple
#B36FF6
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E5FE2 #A3E25F
analogous
#5F61E2 #9E5FE2 #DF5FE2
triadic
#9E5FE2 #E29E5F #5FE29E
tetradic
#9E5FE2 #E25F61 #A3E25F #5FE2DF
square
#9E5FE2 #E25F61 #A3E25F #5FE2DF
split-complementary
#9E5FE2 #E2DF5F #61E25F
monochromatic
#611EA8 #7F2BD9 #9E5FE2 #BD93EB #DDC7F5
Accessibility & contrast
On white
4.05
#9E5FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#9E5FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E5FE2
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E5FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E5FE2 | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#237DE6
Deuteranopia (green-blind)
#407EDF
Tritanopia (blue-blind)
#917998
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #9e5fe2; /* rgb */ color: rgb(158, 95, 226); /* oklch */ color: oklch(61.5% 0.194 303.3);
Tailwind
colors: {
custom: {
50: '#be8fec',
500: '#9e5fe2',
950: '#000000',
},
}SCSS
$custom: #9e5fe2; $custom-light: #be8fec; $custom-dark: #000000;
JSON
{
"hex": "#9e5fe2",
"rgb": {
"r": 158,
"g": 95,
"b": 226
},
"hsl": {
"h": 268.855,
"s": 69.312,
"l": 62.941
},
"oklch": {
"l": 0.6154,
"c": 0.19395,
"h": 303.3
},
"luminance": 0.20945
}Semantic roles & 50–950 ramp
primary
#9E5FE2
secondary
#CFE6B7
accent
#D11476
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84