#9F58CF#9F58CF
#9F58CF is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.5% C 0.183 H 309.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9F58CF |
|---|---|
| RGB | rgb(159, 88, 207) |
| HSL | hsl(276, 55%, 58%) |
| HSV | hsv(276, 57%, 81%) |
| CMYK | cmyk(23.2%, 57.5%, 0%, 18.8%) |
| CIE-LAB | lab(50.52, 50.08, -50.30) |
| CIE-LCH | lch(50.52, 70.98, 314.87°) |
| OKLab | oklab(59.47% 0.1164 -0.1414) |
| OKLCH | oklch(59.47% 0.183 309.5) |
| XYZ | xyz(29.0481, 18.8559, 61.1287) |
| Luminance | 0.1885 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.08
Lightish Purple
#A552E6
ΔE00 3.52
Deep Lavender
#8D5EB7
ΔE00 5.01
Mediumorchid
#BA55D3
ΔE00 5.13
Lighter Purple
#A55AF4
ΔE00 5.60
Purpley
#8756E4
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F58CF #88CF58
analogous
#6358CF #9F58CF #CF58C4
triadic
#9F58CF #CF9F58 #58CF9F
tetradic
#9F58CF #CF6358 #88CF58 #58C4CF
square
#9F58CF #CF6358 #88CF58 #58C4CF
split-complementary
#9F58CF #C4CF58 #58CF63
monochromatic
#602786 #8134B6 #9F58CF #BA88DD #D6B7EA
Accessibility & contrast
On white
4.40
#9F58CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#9F58CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F58CF
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F58CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F58CF | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E75D3
Deuteranopia (green-blind)
#4A79CC
Tritanopia (blue-blind)
#986E8B
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #9f58cf; /* rgb */ color: rgb(159, 88, 207); /* oklch */ color: oklch(59.5% 0.183 309.5);
Tailwind
colors: {
custom: {
50: '#be8ade',
500: '#9f58cf',
950: '#000000',
},
}SCSS
$custom: #9f58cf; $custom-light: #be8ade; $custom-dark: #000000;
JSON
{
"hex": "#9f58cf",
"rgb": {
"r": 159,
"g": 88,
"b": 207
},
"hsl": {
"h": 275.798,
"s": 55.349,
"l": 57.843
},
"oklch": {
"l": 0.59472,
"c": 0.1832,
"h": 309.5
},
"luminance": 0.18855
}Semantic roles & 50–950 ramp
primary
#9F58CF
secondary
#BDD9AA
accent
#DF4985
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83