#9F57CF#9F57CF
#9F57CF is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.3% C 0.185 H 309.6°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #9F57CF |
|---|---|
| RGB | rgb(159, 87, 207) |
| HSL | hsl(276, 56%, 58%) |
| HSV | hsv(276, 58%, 81%) |
| CMYK | cmyk(23.2%, 58%, 0%, 18.8%) |
| CIE-LAB | lab(50.33, 50.59, -50.61) |
| CIE-LCH | lch(50.33, 71.56, 314.99°) |
| OKLab | oklab(59.33% 0.1177 -0.1423) |
| OKLCH | oklch(59.33% 0.185 309.6) |
| XYZ | xyz(28.9666, 18.6928, 61.1015) |
| Luminance | 0.1869 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.22
Lightish Purple
#A552E6
ΔE00 3.48
Deep Lavender
#8D5EB7
ΔE00 5.07
Mediumorchid
#BA55D3
ΔE00 5.18
Lighter Purple
#A55AF4
ΔE00 5.66
Purpley
#8756E4
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F57CF #87CF57
analogous
#6357CF #9F57CF #CF57C3
triadic
#9F57CF #CF9F57 #57CF9F
tetradic
#9F57CF #CF6357 #87CF57 #57C3CF
square
#9F57CF #CF6357 #87CF57 #57C3CF
split-complementary
#9F57CF #C3CF57 #57CF63
monochromatic
#5F2685 #8134B5 #9F57CF #BA87DD #D5B6EA
Accessibility & contrast
On white
4.43
#9F57CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#9F57CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F57CF
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F57CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F57CF | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C75D3
Deuteranopia (green-blind)
#4979CC
Tritanopia (blue-blind)
#996D8B
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #9f57cf; /* rgb */ color: rgb(159, 87, 207); /* oklch */ color: oklch(59.3% 0.185 309.6);
Tailwind
colors: {
custom: {
50: '#be8ade',
500: '#9f57cf',
950: '#000000',
},
}SCSS
$custom: #9f57cf; $custom-light: #be8ade; $custom-dark: #000000;
JSON
{
"hex": "#9f57cf",
"rgb": {
"r": 159,
"g": 87,
"b": 207
},
"hsl": {
"h": 276,
"s": 55.556,
"l": 57.647
},
"oklch": {
"l": 0.59331,
"c": 0.18471,
"h": 309.6
},
"luminance": 0.18692
}Semantic roles & 50–950 ramp
primary
#9F57CF
secondary
#BCD9A9
accent
#DF4985
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83