#9D5DF7#9D5DF7
#9D5DF7 is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.5% C 0.220 H 299.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #9D5DF7 |
|---|---|
| RGB | rgb(157, 93, 247) |
| HSL | hsl(265, 91%, 67%) |
| HSV | hsv(265, 62%, 97%) |
| CMYK | cmyk(36.4%, 62.3%, 0%, 3.1%) |
| CIE-LAB | lab(53.72, 56.51, -67.73) |
| CIE-LCH | lch(53.72, 88.21, 309.84°) |
| OKLab | oklab(62.54% 0.1069 -0.1927) |
| OKLCH | oklch(62.54% 0.22 299) |
| XYZ | xyz(34.6033, 21.7118, 90.3454) |
| Luminance | 0.2171 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.60
Lightish Purple
#A552E6
ΔE00 3.93
Purpley
#8756E4
ΔE00 5.23
Light Urple
#B36FF6
ΔE00 6.12
Mediumpurple
#9370DB
ΔE00 6.17
Mediumslateblue
#7B68EE
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D5DF7 #B7F75D
analogous
#5D6AF7 #9D5DF7 #EA5DF7
triadic
#9D5DF7 #F79D5D #5DF79D
tetradic
#9D5DF7 #F75D6A #B7F75D #5DF7EA
square
#9D5DF7 #F75D6A #B7F75D #5DF7EA
split-complementary
#9D5DF7 #F7EA5D #6AF75D
monochromatic
#5C0ACF #7A23F4 #9D5DF7 #C097FA #E4D2FD
Accessibility & contrast
On white
3.93
#9D5DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.34
#9D5DF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D5DF7
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D5DF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D5DF7 | 1.00 | 3.93 | 5.34 | 5.34 |
| #FFFFFF | 3.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0080FC
Deuteranopia (green-blind)
#127FF4
Tritanopia (blue-blind)
#897FA2
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #9d5df7; /* rgb */ color: rgb(157, 93, 247); /* oklch */ color: oklch(62.5% 0.220 299.0);
Tailwind
colors: {
custom: {
50: '#bf8efb',
500: '#9d5df7',
950: '#000000',
},
}SCSS
$custom: #9d5df7; $custom-light: #bf8efb; $custom-dark: #000000;
JSON
{
"hex": "#9d5df7",
"rgb": {
"r": 157,
"g": 93,
"b": 247
},
"hsl": {
"h": 264.935,
"s": 90.588,
"l": 66.667
},
"oklch": {
"l": 0.62543,
"c": 0.22032,
"h": 299
},
"luminance": 0.21712
}Semantic roles & 50–950 ramp
primary
#9D5DF7
secondary
#DCF1BF
accent
#E60086
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85