#8F58BC#8F58BC
#8F58BC is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.5% C 0.156 H 307.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8F58BC |
|---|---|
| RGB | rgb(143, 88, 188) |
| HSL | hsl(273, 43%, 54%) |
| HSV | hsv(273, 53%, 74%) |
| CMYK | cmyk(23.9%, 53.2%, 0%, 26.3%) |
| CIE-LAB | lab(47.56, 41.59, -44.18) |
| CIE-LCH | lch(47.56, 60.68, 313.27°) |
| OKLab | oklab(56.53% 0.0953 -0.124) |
| OKLCH | oklch(56.53% 0.156 307.5) |
| XYZ | xyz(23.8927, 16.4502, 49.4837) |
| Luminance | 0.1645 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.01
Amethyst
#9B5FC0
ΔE00 3.35
Royal Purple
#7851A9
ΔE00 5.54
Purply
#983FB2
ΔE00 6.26
Deep Lilac
#966EBD
ΔE00 6.91
Purpley
#8756E4
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F58BC #85BC58
analogous
#5D58BC #8F58BC #BC58B7
triadic
#8F58BC #BC8F58 #58BC8F
tetradic
#8F58BC #BC5D58 #85BC58 #58B7BC
square
#8F58BC #BC5D58 #85BC58 #58B7BC
split-complementary
#8F58BC #B7BC58 #58BC5D
monochromatic
#502C6E #703E99 #8F58BC #AC84CE #CAAFDF
Accessibility & contrast
On white
4.90
#8F58BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#8F58BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F58BC
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F58BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F58BC | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#396FBF
Deuteranopia (green-blind)
#4B71BA
Tritanopia (blue-blind)
#886A82
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8f58bc; /* rgb */ color: rgb(143, 88, 188); /* oklch */ color: oklch(56.5% 0.156 307.5);
Tailwind
colors: {
custom: {
50: '#b289d1',
500: '#8f58bc',
950: '#000000',
},
}SCSS
$custom: #8f58bc; $custom-light: #b289d1; $custom-dark: #000000;
JSON
{
"hex": "#8f58bc",
"rgb": {
"r": 143,
"g": 88,
"b": 188
},
"hsl": {
"h": 273,
"s": 42.735,
"l": 54.118
},
"oklch": {
"l": 0.56534,
"c": 0.15639,
"h": 307.5
},
"luminance": 0.1645
}Semantic roles & 50–950 ramp
primary
#8F58BC
secondary
#B6CDA3
accent
#D3558E
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82