#9D5CF7#9D5CF7
#9D5CF7 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.4% C 0.222 H 299.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9D5CF7 |
|---|---|
| RGB | rgb(157, 92, 247) |
| HSL | hsl(265, 91%, 66%) |
| HSV | hsv(265, 63%, 97%) |
| CMYK | cmyk(36.4%, 62.8%, 0%, 3.1%) |
| CIE-LAB | lab(53.53, 57.01, -68.03) |
| CIE-LCH | lch(53.53, 88.76, 309.96°) |
| OKLab | oklab(62.41% 0.1079 -0.1936) |
| OKLCH | oklch(62.41% 0.222 299.1) |
| XYZ | xyz(34.5161, 21.5374, 90.3163) |
| Luminance | 0.2154 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.55
Lightish Purple
#A552E6
ΔE00 3.78
Purpley
#8756E4
ΔE00 5.11
Light Urple
#B36FF6
ΔE00 6.29
Mediumpurple
#9370DB
ΔE00 6.34
Mediumslateblue
#7B68EE
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D5CF7 #B6F75C
analogous
#5C69F7 #9D5CF7 #EA5CF7
triadic
#9D5CF7 #F79D5C #5CF79D
tetradic
#9D5CF7 #F75C69 #B6F75C #5CF7EA
square
#9D5CF7 #F75C69 #B6F75C #5CF7EA
split-complementary
#9D5CF7 #F7EA5C #69F75C
monochromatic
#5C0ACE #7A22F4 #9D5CF7 #C096FA #E3D1FD
Accessibility & contrast
On white
3.96
#9D5CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#9D5CF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D5CF7
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D5CF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D5CF7 | 1.00 | 3.96 | 5.31 | 5.31 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080FC
Deuteranopia (green-blind)
#0D7FF4
Tritanopia (blue-blind)
#897FA1
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #9d5cf7; /* rgb */ color: rgb(157, 92, 247); /* oklch */ color: oklch(62.4% 0.222 299.1);
Tailwind
colors: {
custom: {
50: '#bf8dfb',
500: '#9d5cf7',
950: '#000000',
},
}SCSS
$custom: #9d5cf7; $custom-light: #bf8dfb; $custom-dark: #000000;
JSON
{
"hex": "#9d5cf7",
"rgb": {
"r": 157,
"g": 92,
"b": 247
},
"hsl": {
"h": 265.161,
"s": 90.643,
"l": 66.471
},
"oklch": {
"l": 0.62407,
"c": 0.22162,
"h": 299.1
},
"luminance": 0.21538
}Semantic roles & 50–950 ramp
primary
#9D5CF7
secondary
#DBF1BE
accent
#E60085
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85