#8F58C0#8F58C0
#8F58C0 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.8% C 0.161 H 306.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8F58C0 |
|---|---|
| RGB | rgb(143, 88, 192) |
| HSL | hsl(272, 45%, 55%) |
| HSV | hsv(272, 54%, 75%) |
| CMYK | cmyk(25.5%, 54.2%, 0%, 24.7%) |
| CIE-LAB | lab(47.78, 42.54, -46.14) |
| CIE-LCH | lch(47.78, 62.76, 312.67°) |
| OKLab | oklab(56.77% 0.0955 -0.1297) |
| OKLCH | oklch(56.77% 0.161 306.4) |
| XYZ | xyz(24.3299, 16.6251, 51.7862) |
| Luminance | 0.1663 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.43
Amethyst
#9B5FC0
ΔE00 3.46
Royal Purple
#7851A9
ΔE00 5.82
Purpley
#8756E4
ΔE00 6.21
Lightish Purple
#A552E6
ΔE00 6.49
Purply
#983FB2
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F58C0 #89C058
analogous
#5B58C0 #8F58C0 #C058BD
triadic
#8F58C0 #C08F58 #58C08F
tetradic
#8F58C0 #C05B58 #89C058 #58BDC0
square
#8F58C0 #C05B58 #89C058 #58BDC0
split-complementary
#8F58C0 #BDC058 #58C05B
monochromatic
#512B72 #703C9F #8F58C0 #AD84D1 #CBB1E2
Accessibility & contrast
On white
4.86
#8F58C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#8F58C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F58C0
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F58C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F58C0 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#366FC3
Deuteranopia (green-blind)
#4872BD
Tritanopia (blue-blind)
#876B84
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8f58c0; /* rgb */ color: rgb(143, 88, 192); /* oklch */ color: oklch(56.8% 0.161 306.4);
Tailwind
colors: {
custom: {
50: '#b289d3',
500: '#8f58c0',
950: '#000000',
},
}SCSS
$custom: #8f58c0; $custom-light: #b289d3; $custom-dark: #000000;
JSON
{
"hex": "#8f58c0",
"rgb": {
"r": 143,
"g": 88,
"b": 192
},
"hsl": {
"h": 271.731,
"s": 45.217,
"l": 54.902
},
"oklch": {
"l": 0.56772,
"c": 0.16112,
"h": 306.4
},
"luminance": 0.16625
}Semantic roles & 50–950 ramp
primary
#8F58C0
secondary
#B9D0A4
accent
#D55390
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83