#9D5FF6#9D5FF6
#9D5FF6 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 62.7% C 0.217 H 298.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #9D5FF6 |
|---|---|
| RGB | rgb(157, 95, 246) |
| HSL | hsl(265, 89%, 67%) |
| HSV | hsv(265, 61%, 96%) |
| CMYK | cmyk(36.2%, 61.4%, 0%, 3.5%) |
| CIE-LAB | lab(54.03, 55.24, -66.67) |
| CIE-LCH | lch(54.03, 86.58, 309.64°) |
| OKLab | oklab(62.75% 0.1047 -0.1896) |
| OKLCH | oklch(62.75% 0.217 298.9) |
| XYZ | xyz(34.6273, 22.0059, 89.5941) |
| Luminance | 0.2201 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.74
Lightish Purple
#A552E6
ΔE00 4.15
Purpley
#8756E4
ΔE00 5.44
Light Urple
#B36FF6
ΔE00 5.78
Mediumpurple
#9370DB
ΔE00 5.79
Mediumslateblue
#7B68EE
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D5FF6 #B8F65F
analogous
#5F6DF6 #9D5FF6 #E95FF6
triadic
#9D5FF6 #F69D5F #5FF69D
tetradic
#9D5FF6 #F65F6D #B8F65F #5FF6E9
square
#9D5FF6 #F65F6D #B8F65F #5FF6E9
split-complementary
#9D5FF6 #F6E95F #6DF65F
monochromatic
#5C0CCF #7A25F3 #9D5FF6 #C099F9 #E4D3FD
Accessibility & contrast
On white
3.89
#9D5FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#9D5FF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D5FF6
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D5FF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D5FF6 | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081FB
Deuteranopia (green-blind)
#1D80F3
Tritanopia (blue-blind)
#8980A2
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #9d5ff6; /* rgb */ color: rgb(157, 95, 246); /* oklch */ color: oklch(62.7% 0.217 298.9);
Tailwind
colors: {
custom: {
50: '#bf8ffa',
500: '#9d5ff6',
950: '#000000',
},
}SCSS
$custom: #9d5ff6; $custom-light: #bf8ffa; $custom-dark: #000000;
JSON
{
"hex": "#9d5ff6",
"rgb": {
"r": 157,
"g": 95,
"b": 246
},
"hsl": {
"h": 264.636,
"s": 89.349,
"l": 66.863
},
"oklch": {
"l": 0.62749,
"c": 0.21656,
"h": 298.9
},
"luminance": 0.22006
}Semantic roles & 50–950 ramp
primary
#9D5FF6
secondary
#DDF1C0
accent
#E60087
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85