#8A59D5#8A59D5
#8A59D5 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.7% C 0.184 H 298.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8A59D5 |
|---|---|
| RGB | rgb(138, 89, 213) |
| HSL | hsl(264, 60%, 59%) |
| HSV | hsv(264, 58%, 84%) |
| CMYK | cmyk(35.2%, 58.2%, 0%, 16.5%) |
| CIE-LAB | lab(48.70, 45.95, -56.78) |
| CIE-LCH | lch(48.70, 73.04, 308.98°) |
| OKLab | oklab(57.73% 0.0883 -0.1611) |
| OKLCH | oklch(57.73% 0.184 298.7) |
| XYZ | xyz(26.0609, 17.3518, 64.9141) |
| Luminance | 0.1735 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.42
Lightish Purple
#A552E6
ΔE00 5.20
Light Indigo
#6D5ACF
ΔE00 5.59
Deep Lavender
#8D5EB7
ΔE00 5.65
Amethyst
#9B5FC0
ΔE00 6.05
Slate Blue
#6A5ACD
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A59D5 #A4D559
analogous
#5966D5 #8A59D5 #C859D5
triadic
#8A59D5 #D58A59 #59D58A
tetradic
#8A59D5 #D55966 #A4D559 #59D5C8
square
#8A59D5 #D55966 #A4D559 #59D5C8
split-complementary
#8A59D5 #D5C859 #66D559
monochromatic
#4F248F #6931C0 #8A59D5 #AC8AE1 #CFBBEE
Accessibility & contrast
On white
4.70
#8A59D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#8A59D5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A59D5
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A59D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A59D5 | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1574D9
Deuteranopia (green-blind)
#2E73D2
Tritanopia (blue-blind)
#79738E
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #8a59d5; /* rgb */ color: rgb(138, 89, 213); /* oklch */ color: oklch(57.7% 0.184 298.7);
Tailwind
colors: {
custom: {
50: '#b08ae3',
500: '#8a59d5',
950: '#000000',
},
}SCSS
$custom: #8a59d5; $custom-light: #b08ae3; $custom-dark: #000000;
JSON
{
"hex": "#8a59d5",
"rgb": {
"r": 138,
"g": 89,
"b": 213
},
"hsl": {
"h": 263.71,
"s": 59.615,
"l": 59.216
},
"oklch": {
"l": 0.57725,
"c": 0.18368,
"h": 298.7
},
"luminance": 0.17352
}Semantic roles & 50–950 ramp
primary
#8A59D5
secondary
#CADDAD
accent
#E345A4
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C15
muted
#807D84