#9D5CF1#9D5CF1
#9D5CF1 is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 62.0% C 0.215 H 300.3°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #9D5CF1 |
|---|---|
| RGB | rgb(157, 92, 241) |
| HSL | hsl(266, 84%, 65%) |
| HSV | hsv(266, 62%, 95%) |
| CMYK | cmyk(34.9%, 61.8%, 0%, 5.5%) |
| CIE-LAB | lab(53.14, 55.55, -65.32) |
| CIE-LCH | lch(53.14, 85.75, 310.38°) |
| OKLab | oklab(62% 0.1084 -0.1856) |
| OKLCH | oklch(62% 0.215 300.3) |
| XYZ | xyz(33.6051, 21.1730, 85.5184) |
| Luminance | 0.2117 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.40
Lightish Purple
#A552E6
ΔE00 3.17
Purpley
#8756E4
ΔE00 4.77
Mediumpurple
#9370DB
ΔE00 6.01
Light Urple
#B36FF6
ΔE00 6.34
Mediumslateblue
#7B68EE
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D5CF1 #B0F15C
analogous
#5C66F1 #9D5CF1 #E75CF1
triadic
#9D5CF1 #F19D5C #5CF19D
tetradic
#9D5CF1 #F15C66 #B0F15C #5CF1E7
square
#9D5CF1 #F15C66 #B0F15C #5CF1E7
split-complementary
#9D5CF1 #F1E75C #66F15C
monochromatic
#5E11C2 #7B24EC #9D5CF1 #BF94F6 #E1CDFB
Accessibility & contrast
On white
4.01
#9D5CF1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#9D5CF1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D5CF1
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D5CF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D5CF1 | 1.00 | 4.01 | 5.23 | 5.23 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF6
Deuteranopia (green-blind)
#217EEE
Tritanopia (blue-blind)
#8B7C9E
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #9d5cf1; /* rgb */ color: rgb(157, 92, 241); /* oklch */ color: oklch(62.0% 0.215 300.3);
Tailwind
colors: {
custom: {
50: '#bf8df6',
500: '#9d5cf1',
950: '#000000',
},
}SCSS
$custom: #9d5cf1; $custom-light: #bf8df6; $custom-dark: #000000;
JSON
{
"hex": "#9d5cf1",
"rgb": {
"r": 157,
"g": 92,
"b": 241
},
"hsl": {
"h": 266.174,
"s": 84.181,
"l": 65.294
},
"oklch": {
"l": 0.61997,
"c": 0.21492,
"h": 300.3
},
"luminance": 0.21173
}Semantic roles & 50–950 ramp
primary
#9D5CF1
secondary
#D8EEBB
accent
#E10581
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85