#9F5FF2#9F5FF2
#9F5FF2 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.7% C 0.212 H 300.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #9F5FF2 |
|---|---|
| RGB | rgb(159, 95, 242) |
| HSL | hsl(266, 85%, 66%) |
| HSV | hsv(266, 61%, 95%) |
| CMYK | cmyk(34.3%, 60.7%, 0%, 5.1%) |
| CIE-LAB | lab(53.99, 54.68, -64.50) |
| CIE-LCH | lch(53.99, 84.56, 310.29°) |
| OKLab | oklab(62.69% 0.1075 -0.1831) |
| OKLCH | oklch(62.69% 0.212 300.4) |
| XYZ | xyz(34.4134, 21.9659, 86.4140) |
| Luminance | 0.2197 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.36
Lightish Purple
#A552E6
ΔE00 3.68
Purpley
#8756E4
ΔE00 5.51
Light Urple
#B36FF6
ΔE00 5.51
Mediumpurple
#9370DB
ΔE00 5.59
Mediumslateblue
#7B68EE
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F5FF2 #B2F25F
analogous
#5F68F2 #9F5FF2 #E85FF2
triadic
#9F5FF2 #F29F5F #5FF29F
tetradic
#9F5FF2 #F25F68 #B2F25F #5FF2E8
square
#9F5FF2 #F25F68 #B2F25F #5FF2E8
split-complementary
#9F5FF2 #F2E85F #68F25F
monochromatic
#6010C6 #7D26ED #9F5FF2 #C198F7 #E3D0FB
Accessibility & contrast
On white
3.89
#9F5FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.39
#9F5FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F5FF2
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F5FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F5FF2 | 1.00 | 3.89 | 5.39 | 5.39 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#2A80EF
Tritanopia (blue-blind)
#8D7EA0
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #9f5ff2; /* rgb */ color: rgb(159, 95, 242); /* oklch */ color: oklch(62.7% 0.212 300.4);
Tailwind
colors: {
custom: {
50: '#c08ff7',
500: '#9f5ff2',
950: '#000000',
},
}SCSS
$custom: #9f5ff2; $custom-light: #c08ff7; $custom-dark: #000000;
JSON
{
"hex": "#9f5ff2",
"rgb": {
"r": 159,
"g": 95,
"b": 242
},
"hsl": {
"h": 266.122,
"s": 84.971,
"l": 66.078
},
"oklch": {
"l": 0.62685,
"c": 0.21233,
"h": 300.4
},
"luminance": 0.21966
}Semantic roles & 50–950 ramp
primary
#9F5FF2
secondary
#DAEFBE
accent
#E10481
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85