#8A59CE#8A59CE
#8A59CE is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.3% C 0.175 H 300.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8A59CE |
|---|---|
| RGB | rgb(138, 89, 206) |
| HSL | hsl(265, 54%, 58%) |
| HSV | hsv(265, 57%, 81%) |
| CMYK | cmyk(33%, 56.8%, 0%, 19.2%) |
| CIE-LAB | lab(48.27, 44.17, -53.47) |
| CIE-LCH | lch(48.27, 69.36, 309.56°) |
| OKLab | oklab(57.27% 0.0883 -0.1514) |
| OKLCH | oklch(57.27% 0.175 300.3) |
| XYZ | xyz(25.1915, 17.0041, 60.3355) |
| Luminance | 0.1700 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.47
Deep Lavender
#8D5EB7
ΔE00 4.62
Amethyst
#9B5FC0
ΔE00 5.33
Lightish Purple
#A552E6
ΔE00 5.63
Light Indigo
#6D5ACF
ΔE00 5.77
Slate Blue
#6A5ACD
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A59CE #9DCE59
analogous
#5962CE #8A59CE #C459CE
triadic
#8A59CE #CE8A59 #59CE8A
tetradic
#8A59CE #CE5962 #9DCE59 #59CEC4
square
#8A59CE #CE5962 #9DCE59 #59CEC4
split-complementary
#8A59CE #CEC459 #62CE59
monochromatic
#4F2785 #6B35B5 #8A59CE #AB88DC #CDB8EA
Accessibility & contrast
On white
4.77
#8A59CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#8A59CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A59CE
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A59CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A59CE | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2472D2
Deuteranopia (green-blind)
#3772CB
Tritanopia (blue-blind)
#7C718B
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #8a59ce; /* rgb */ color: rgb(138, 89, 206); /* oklch */ color: oklch(57.3% 0.175 300.3);
Tailwind
colors: {
custom: {
50: '#b08ade',
500: '#8a59ce',
950: '#000000',
},
}SCSS
$custom: #8a59ce; $custom-light: #b08ade; $custom-dark: #000000;
JSON
{
"hex": "#8a59ce",
"rgb": {
"r": 138,
"g": 89,
"b": 206
},
"hsl": {
"h": 265.128,
"s": 54.419,
"l": 57.843
},
"oklch": {
"l": 0.57266,
"c": 0.17523,
"h": 300.3
},
"luminance": 0.17004
}Semantic roles & 50–950 ramp
primary
#8A59CE
secondary
#C5D9AA
accent
#DE4AA0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83