#8A59B5#8A59B5
#8A59B5 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.7% C 0.145 H 306.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #8A59B5 |
|---|---|
| RGB | rgb(138, 89, 181) |
| HSL | hsl(272, 38%, 53%) |
| HSV | hsv(272, 51%, 71%) |
| CMYK | cmyk(23.8%, 50.8%, 0%, 29%) |
| CIE-LAB | lab(46.82, 38.02, -41.31) |
| CIE-LCH | lch(46.82, 56.15, 312.63°) |
| OKLab | oklab(55.74% 0.0869 -0.1158) |
| OKLCH | oklch(55.74% 0.145 306.9) |
| XYZ | xyz(22.3924, 15.8844, 45.5935) |
| Luminance | 0.1588 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.63
Amethyst
#9B5FC0
ΔE00 4.16
Royal Purple
#7851A9
ΔE00 4.50
Purply
#983FB2
ΔE00 6.60
Deep Lilac
#966EBD
ΔE00 6.97
Purpley
#8756E4
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A59B5 #84B559
analogous
#5C59B5 #8A59B5 #B559B2
triadic
#8A59B5 #B58A59 #59B58A
tetradic
#8A59B5 #B55C59 #84B559 #59B2B5
square
#8A59B5 #B55C59 #84B559 #59B2B5
split-complementary
#8A59B5 #B2B559 #59B55C
monochromatic
#4C2E66 #6B4090 #8A59B5 #A883C8 #C6AEDB
Accessibility & contrast
On white
5.03
#8A59B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#8A59B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A59B5
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A59B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A59B5 | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F6DB8
Deuteranopia (green-blind)
#4D6FB3
Tritanopia (blue-blind)
#83697F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8a59b5; /* rgb */ color: rgb(138, 89, 181); /* oklch */ color: oklch(55.7% 0.145 306.9);
Tailwind
colors: {
custom: {
50: '#ae89cb',
500: '#8a59b5',
950: '#000000',
},
}SCSS
$custom: #8a59b5; $custom-light: #ae89cb; $custom-dark: #000000;
JSON
{
"hex": "#8a59b5",
"rgb": {
"r": 138,
"g": 89,
"b": 181
},
"hsl": {
"h": 271.957,
"s": 38.333,
"l": 52.941
},
"oklch": {
"l": 0.55736,
"c": 0.14479,
"h": 306.9
},
"luminance": 0.15884
}Semantic roles & 50–950 ramp
primary
#8A59B5
secondary
#B4C9A1
accent
#CE5A90
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#110C13
muted
#807D82