#9F57DC#9F57DC
#9F57DC is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.1% C 0.199 H 306.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9F57DC |
|---|---|
| RGB | rgb(159, 87, 220) |
| HSL | hsl(272, 66%, 60%) |
| HSV | hsv(272, 60%, 86%) |
| CMYK | cmyk(27.7%, 60.5%, 0%, 13.7%) |
| CIE-LAB | lab(51.10, 53.54, -56.78) |
| CIE-LCH | lch(51.10, 78.04, 313.32°) |
| OKLab | oklab(60.14% 0.1177 -0.1604) |
| OKLCH | oklch(60.14% 0.199 306.3) |
| XYZ | xyz(30.6218, 19.3549, 69.8189) |
| Luminance | 0.1935 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.73
Lighter Purple
#A55AF4
ΔE00 3.71
Purpley
#8756E4
ΔE00 4.91
Amethyst
#9B5FC0
ΔE00 4.95
Mediumorchid
#BA55D3
ΔE00 5.79
Deep Lavender
#8D5EB7
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F57DC #94DC57
analogous
#5C57DC #9F57DC #DC57D7
triadic
#9F57DC #DC9F57 #57DC9F
tetradic
#9F57DC #DC5C57 #94DC57 #57D7DC
square
#9F57DC #DC5C57 #94DC57 #57D7DC
split-complementary
#9F57DC #D7DC57 #57DC5C
monochromatic
#612099 #822ACB #9F57DC #BC8AE7 #D9BCF1
Accessibility & contrast
On white
4.31
#9F57DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#9F57DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F57DC
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F57DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F57DC | 1.00 | 4.31 | 4.87 | 4.87 |
| #FFFFFF | 4.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1377E0
Deuteranopia (green-blind)
#3D7AD9
Tritanopia (blue-blind)
#957291
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #9f57dc; /* rgb */ color: rgb(159, 87, 220); /* oklch */ color: oklch(60.1% 0.199 306.3);
Tailwind
colors: {
custom: {
50: '#bf8ae7',
500: '#9f57dc',
950: '#000000',
},
}SCSS
$custom: #9f57dc; $custom-light: #bf8ae7; $custom-dark: #000000;
JSON
{
"hex": "#9f57dc",
"rgb": {
"r": 159,
"g": 87,
"b": 220
},
"hsl": {
"h": 272.481,
"s": 65.517,
"l": 60.196
},
"oklch": {
"l": 0.60144,
"c": 0.19894,
"h": 306.3
},
"luminance": 0.19355
}Semantic roles & 50–950 ramp
primary
#9F57DC
secondary
#C5E1AE
accent
#CD186B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84