#8F59BC#8F59BC
#8F59BC is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.7% C 0.155 H 307.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #8F59BC |
|---|---|
| RGB | rgb(143, 89, 188) |
| HSL | hsl(273, 42%, 54%) |
| HSV | hsv(273, 53%, 74%) |
| CMYK | cmyk(23.9%, 52.7%, 0%, 26.3%) |
| CIE-LAB | lab(47.77, 41.04, -43.84) |
| CIE-LCH | lch(47.77, 60.06, 313.11°) |
| OKLab | oklab(56.69% 0.0939 -0.123) |
| OKLCH | oklch(56.69% 0.155 307.4) |
| XYZ | xyz(23.9753, 16.6155, 49.5113) |
| Luminance | 0.1661 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.76
Amethyst
#9B5FC0
ΔE00 3.17
Royal Purple
#7851A9
ΔE00 5.65
Purply
#983FB2
ΔE00 6.51
Deep Lilac
#966EBD
ΔE00 6.63
Purpley
#8756E4
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F59BC #86BC59
analogous
#5E59BC #8F59BC #BC59B8
triadic
#8F59BC #BC8F59 #59BC8F
tetradic
#8F59BC #BC5E59 #86BC59 #59B8BC
square
#8F59BC #BC5E59 #86BC59 #59B8BC
split-complementary
#8F59BC #B8BC59 #59BC5E
monochromatic
#502C6E #703E9A #8F59BC #AC85CE #CAB0DF
Accessibility & contrast
On white
4.86
#8F59BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#8F59BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8F59BC
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F59BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8F59BC | 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)
#3B6FBF
Deuteranopia (green-blind)
#4C72BA
Tritanopia (blue-blind)
#886B82
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #8f59bc; /* rgb */ color: rgb(143, 89, 188); /* oklch */ color: oklch(56.7% 0.155 307.4);
Tailwind
colors: {
custom: {
50: '#b28ad1',
500: '#8f59bc',
950: '#000000',
},
}SCSS
$custom: #8f59bc; $custom-light: #b28ad1; $custom-dark: #000000;
JSON
{
"hex": "#8f59bc",
"rgb": {
"r": 143,
"g": 89,
"b": 188
},
"hsl": {
"h": 272.727,
"s": 42.489,
"l": 54.314
},
"oklch": {
"l": 0.5669,
"c": 0.15478,
"h": 307.4
},
"luminance": 0.16615
}Semantic roles & 50–950 ramp
primary
#8F59BC
secondary
#B6CDA3
accent
#D2568E
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82