#9F5EF1#9F5EF1
#9F5EF1 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.5% C 0.213 H 300.7°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #9F5EF1 |
|---|---|
| RGB | rgb(159, 94, 241) |
| HSL | hsl(267, 84%, 66%) |
| HSV | hsv(267, 61%, 95%) |
| CMYK | cmyk(34%, 61%, 0%, 5.5%) |
| CIE-LAB | lab(53.74, 54.95, -64.35) |
| CIE-LCH | lch(53.74, 84.62, 310.50°) |
| OKLab | oklab(62.48% 0.1087 -0.1827) |
| OKLCH | oklch(62.48% 0.213 300.7) |
| XYZ | xyz(34.1742, 21.7270, 85.5953) |
| Luminance | 0.2173 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.23
Lightish Purple
#A552E6
ΔE00 3.40
Purpley
#8756E4
ΔE00 5.34
Light Urple
#B36FF6
ΔE00 5.71
Mediumpurple
#9370DB
ΔE00 5.71
Mediumslateblue
#7B68EE
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F5EF1 #B0F15E
analogous
#5E66F1 #9F5EF1 #E95EF1
triadic
#9F5EF1 #F19F5E #5EF19F
tetradic
#9F5EF1 #F15E66 #B0F15E #5EF1E9
square
#9F5EF1 #F15E66 #B0F15E #5EF1E9
split-complementary
#9F5EF1 #F1E95E #66F15E
monochromatic
#6011C4 #7D26EC #9F5EF1 #C196F6 #E2CFFB
Accessibility & contrast
On white
3.93
#9F5EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.35
#9F5EF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F5EF1
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F5EF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F5EF1 | 1.00 | 3.93 | 5.35 | 5.35 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080F6
Deuteranopia (green-blind)
#2A80EE
Tritanopia (blue-blind)
#8E7D9F
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #9f5ef1; /* rgb */ color: rgb(159, 94, 241); /* oklch */ color: oklch(62.5% 0.213 300.7);
Tailwind
colors: {
custom: {
50: '#c08ff6',
500: '#9f5ef1',
950: '#000000',
},
}SCSS
$custom: #9f5ef1; $custom-light: #c08ff6; $custom-dark: #000000;
JSON
{
"hex": "#9f5ef1",
"rgb": {
"r": 159,
"g": 94,
"b": 241
},
"hsl": {
"h": 266.531,
"s": 84,
"l": 65.686
},
"oklch": {
"l": 0.6248,
"c": 0.21256,
"h": 300.7
},
"luminance": 0.21727
}Semantic roles & 50–950 ramp
primary
#9F5EF1
secondary
#D8EEBD
accent
#E0057F
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85