#9E5FF2#9E5FF2
#9E5FF2 is a light, highly saturated violet. Relative luminance 0.219; OKLCH L 62.6% C 0.212 H 300.0°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9E5FF2 |
|---|---|
| RGB | rgb(158, 95, 242) |
| HSL | hsl(266, 85%, 66%) |
| HSV | hsv(266, 61%, 95%) |
| CMYK | cmyk(34.7%, 60.7%, 0%, 5.1%) |
| CIE-LAB | lab(53.88, 54.47, -64.68) |
| CIE-LCH | lch(53.88, 84.56, 310.10°) |
| OKLab | oklab(62.58% 0.1062 -0.1837) |
| OKLCH | oklch(62.58% 0.212 300) |
| XYZ | xyz(34.2159, 21.8640, 86.4047) |
| Luminance | 0.2186 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.48
Lightish Purple
#A552E6
ΔE00 3.73
Purpley
#8756E4
ΔE00 5.37
Mediumpurple
#9370DB
ΔE00 5.56
Light Urple
#B36FF6
ΔE00 5.65
Mediumslateblue
#7B68EE
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E5FF2 #B3F25F
analogous
#5F69F2 #9E5FF2 #E75FF2
triadic
#9E5FF2 #F29E5F #5FF29E
tetradic
#9E5FF2 #F25F69 #B3F25F #5FF2E7
square
#9E5FF2 #F25F69 #B3F25F #5FF2E7
split-complementary
#9E5FF2 #F2E75F #69F25F
monochromatic
#5E10C6 #7C26ED #9E5FF2 #C098F7 #E3D0FB
Accessibility & contrast
On white
3.91
#9E5FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.37
#9E5FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9E5FF2
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E5FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9E5FF2 | 1.00 | 3.91 | 5.37 | 5.37 |
| #FFFFFF | 3.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#2880EF
Tritanopia (blue-blind)
#8C7FA0
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #9e5ff2; /* rgb */ color: rgb(158, 95, 242); /* oklch */ color: oklch(62.6% 0.212 300.0);
Tailwind
colors: {
custom: {
50: '#c08ff7',
500: '#9e5ff2',
950: '#000000',
},
}SCSS
$custom: #9e5ff2; $custom-light: #c08ff7; $custom-dark: #000000;
JSON
{
"hex": "#9e5ff2",
"rgb": {
"r": 158,
"g": 95,
"b": 242
},
"hsl": {
"h": 265.714,
"s": 84.971,
"l": 66.078
},
"oklch": {
"l": 0.62582,
"c": 0.21217,
"h": 300
},
"luminance": 0.21864
}Semantic roles & 50–950 ramp
primary
#9E5FF2
secondary
#DAEFBE
accent
#E10483
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85