#9D5CF2#9D5CF2
#9D5CF2 is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.1% C 0.216 H 300.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9D5CF2 |
|---|---|
| RGB | rgb(157, 92, 242) |
| HSL | hsl(266, 85%, 65%) |
| HSV | hsv(266, 62%, 95%) |
| CMYK | cmyk(35.1%, 62%, 0%, 5.1%) |
| CIE-LAB | lab(53.20, 55.79, -65.78) |
| CIE-LCH | lch(53.20, 86.25, 310.30°) |
| OKLab | oklab(62.07% 0.1083 -0.1869) |
| OKLCH | oklch(62.07% 0.216 300.1) |
| XYZ | xyz(33.7549, 21.2329, 86.3072) |
| Luminance | 0.2123 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.39
Lightish Purple
#A552E6
ΔE00 3.27
Purpley
#8756E4
ΔE00 4.82
Mediumpurple
#9370DB
ΔE00 6.06
Light Urple
#B36FF6
ΔE00 6.33
Mediumslateblue
#7B68EE
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D5CF2 #B1F25C
analogous
#5C66F2 #9D5CF2 #E85CF2
triadic
#9D5CF2 #F29D5C #5CF29D
tetradic
#9D5CF2 #F25C66 #B1F25C #5CF2E8
square
#9D5CF2 #F25C66 #B1F25C #5CF2E8
split-complementary
#9D5CF2 #F2E85C #66F25C
monochromatic
#5E10C4 #7B23ED #9D5CF2 #BF95F7 #E1CDFB
Accessibility & contrast
On white
4.00
#9D5CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#9D5CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D5CF2
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D5CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D5CF2 | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#1F7EEF
Tritanopia (blue-blind)
#8B7D9F
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #9d5cf2; /* rgb */ color: rgb(157, 92, 242); /* oklch */ color: oklch(62.1% 0.216 300.1);
Tailwind
colors: {
custom: {
50: '#bf8df7',
500: '#9d5cf2',
950: '#000000',
},
}SCSS
$custom: #9d5cf2; $custom-light: #bf8df7; $custom-dark: #000000;
JSON
{
"hex": "#9d5cf2",
"rgb": {
"r": 157,
"g": 92,
"b": 242
},
"hsl": {
"h": 266,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.62065,
"c": 0.21604,
"h": 300.1
},
"luminance": 0.21233
}Semantic roles & 50–950 ramp
primary
#9D5CF2
secondary
#D8EEBC
accent
#E20482
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85