#8A59CC#8A59CC
#8A59CC is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.1% C 0.173 H 300.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8A59CC |
|---|---|
| RGB | rgb(138, 89, 204) |
| HSL | hsl(266, 53%, 57%) |
| HSV | hsv(266, 56%, 80%) |
| CMYK | cmyk(32.4%, 56.4%, 0%, 20%) |
| CIE-LAB | lab(48.14, 43.67, -52.52) |
| CIE-LCH | lch(48.14, 68.30, 309.74°) |
| OKLab | oklab(57.14% 0.0883 -0.1486) |
| OKLCH | oklch(57.14% 0.173 300.7) |
| XYZ | xyz(24.9501, 16.9075, 59.0640) |
| Luminance | 0.1691 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.79
Deep Lavender
#8D5EB7
ΔE00 4.33
Amethyst
#9B5FC0
ΔE00 5.14
Lightish Purple
#A552E6
ΔE00 5.78
Light Indigo
#6D5ACF
ΔE00 5.87
Slate Blue
#6A5ACD
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A59CC #9BCC59
analogous
#5962CC #8A59CC #C359CC
triadic
#8A59CC #CC8A59 #59CC8A
tetradic
#8A59CC #CC5962 #9BCC59 #59CCC3
square
#8A59CC #CC5962 #9BCC59 #59CCC3
split-complementary
#8A59CC #CCC359 #62CC59
monochromatic
#4F2883 #6B36B1 #8A59CC #AB88DA #CCB7E9
Accessibility & contrast
On white
4.79
#8A59CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#8A59CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A59CC
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A59CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A59CC | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2772D0
Deuteranopia (green-blind)
#3A72C9
Tritanopia (blue-blind)
#7D708A
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #8a59cc; /* rgb */ color: rgb(138, 89, 204); /* oklch */ color: oklch(57.1% 0.173 300.7);
Tailwind
colors: {
custom: {
50: '#b08adc',
500: '#8a59cc',
950: '#000000',
},
}SCSS
$custom: #8a59cc; $custom-light: #b08adc; $custom-dark: #000000;
JSON
{
"hex": "#8a59cc",
"rgb": {
"r": 138,
"g": 89,
"b": 204
},
"hsl": {
"h": 265.565,
"s": 52.995,
"l": 57.451
},
"oklch": {
"l": 0.57138,
"c": 0.17281,
"h": 300.7
},
"luminance": 0.16908
}Semantic roles & 50–950 ramp
primary
#8A59CC
secondary
#C4D8A9
accent
#DC4B9F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83