#9F58D2#9F58D2
#9F58D2 is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.7% C 0.187 H 308.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9F58D2 |
|---|---|
| RGB | rgb(159, 88, 210) |
| HSL | hsl(275, 58%, 58%) |
| HSV | hsv(275, 58%, 82%) |
| CMYK | cmyk(24.3%, 58.1%, 0%, 17.6%) |
| CIE-LAB | lab(50.69, 50.75, -51.74) |
| CIE-LCH | lch(50.69, 72.48, 314.45°) |
| OKLab | oklab(59.66% 0.1165 -0.1457) |
| OKLCH | oklch(59.66% 0.187 308.6) |
| XYZ | xyz(29.4184, 19.0040, 63.0786) |
| Luminance | 0.1900 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.07
Amethyst
#9B5FC0
ΔE00 3.48
Lighter Purple
#A55AF4
ΔE00 5.12
Mediumorchid
#BA55D3
ΔE00 5.22
Deep Lavender
#8D5EB7
ΔE00 5.34
Purpley
#8756E4
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F58D2 #8BD258
analogous
#6258D2 #9F58D2 #D258C8
triadic
#9F58D2 #D29F58 #58D29F
tetradic
#9F58D2 #D26258 #8BD258 #58C8D2
square
#9F58D2 #D26258 #8BD258 #58C8D2
split-complementary
#9F58D2 #C8D258 #58D262
monochromatic
#60258A #8232BB #9F58D2 #BB88DF #D6B8EC
Accessibility & contrast
On white
4.37
#9F58D2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.80
#9F58D2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F58D2
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F58D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F58D2 | 1.00 | 4.37 | 4.80 | 4.80 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A76D6
Deuteranopia (green-blind)
#487ACF
Tritanopia (blue-blind)
#986F8D
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #9f58d2; /* rgb */ color: rgb(159, 88, 210); /* oklch */ color: oklch(59.7% 0.187 308.6);
Tailwind
colors: {
custom: {
50: '#bf8ae0',
500: '#9f58d2',
950: '#000000',
},
}SCSS
$custom: #9f58d2; $custom-light: #bf8ae0; $custom-dark: #000000;
JSON
{
"hex": "#9f58d2",
"rgb": {
"r": 159,
"g": 88,
"b": 210
},
"hsl": {
"h": 274.918,
"s": 57.547,
"l": 58.431
},
"oklch": {
"l": 0.59655,
"c": 0.18651,
"h": 308.6
},
"luminance": 0.19004
}Semantic roles & 50–950 ramp
primary
#9F58D2
secondary
#BFDBAB
accent
#E14787
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83