#9D5FC0#9D5FC0
#9D5FC0 is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.4% C 0.155 H 312.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9D5FC0 |
|---|---|
| RGB | rgb(157, 95, 192) |
| HSL | hsl(278, 43%, 56%) |
| HSV | hsv(278, 51%, 75%) |
| CMYK | cmyk(18.2%, 50.5%, 0%, 24.7%) |
| CIE-LAB | lab(50.87, 42.49, -41.14) |
| CIE-LCH | lch(50.87, 59.15, 315.93°) |
| OKLab | oklab(59.42% 0.1036 -0.1148) |
| OKLCH | oklch(59.42% 0.155 312.1) |
| XYZ | xyz(27.5096, 19.1589, 52.1078) |
| Luminance | 0.1916 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 0.44
Deep Lavender
#8D5EB7
ΔE00 3.46
Deep Lilac
#966EBD
ΔE00 4.73
Mediumorchid
#BA55D3
ΔE00 5.75
Soft Purple
#A66FB5
ΔE00 6.38
Lightish Purple
#A552E6
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D5FC0 #82C05F
analogous
#6D5FC0 #9D5FC0 #C05FB3
triadic
#9D5FC0 #C09D5F #5FC09D
tetradic
#9D5FC0 #C06D5F #82C05F #5FB3C0
square
#9D5FC0 #C06D5F #82C05F #5FB3C0
split-complementary
#9D5FC0 #B3C05F #5FC06D
monochromatic
#5C2F76 #7F40A2 #9D5FC0 #B88BD1 #D3B7E3
Accessibility & contrast
On white
4.35
#9D5FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#9D5FC0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D5FC0
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D5FC0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D5FC0 | 1.00 | 4.35 | 4.83 | 4.83 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4776C3
Deuteranopia (green-blind)
#5A7BBD
Tritanopia (blue-blind)
#996F87
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #9d5fc0; /* rgb */ color: rgb(157, 95, 192); /* oklch */ color: oklch(59.4% 0.155 312.1);
Tailwind
colors: {
custom: {
50: '#bc8ed3',
500: '#9d5fc0',
950: '#000000',
},
}SCSS
$custom: #9d5fc0; $custom-light: #bc8ed3; $custom-dark: #000000;
JSON
{
"hex": "#9d5fc0",
"rgb": {
"r": 157,
"g": 95,
"b": 192
},
"hsl": {
"h": 278.351,
"s": 43.498,
"l": 56.275
},
"oklch": {
"l": 0.59416,
"c": 0.15465,
"h": 312.1
},
"luminance": 0.19158
}Semantic roles & 50–950 ramp
primary
#9D5FC0
secondary
#B8D1A9
accent
#D35582
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120C14
muted
#817D83