#8A59B1#8A59B1
#8A59B1 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.5% C 0.140 H 308.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8A59B1 |
|---|---|
| RGB | rgb(138, 89, 177) |
| HSL | hsl(273, 36%, 52%) |
| HSV | hsv(273, 50%, 69%) |
| CMYK | cmyk(22%, 49.7%, 0%, 30.6%) |
| CIE-LAB | lab(46.61, 37.07, -39.31) |
| CIE-LCH | lch(46.61, 54.04, 313.32°) |
| OKLab | oklab(55.51% 0.0865 -0.11) |
| OKLCH | oklch(55.51% 0.14 308.2) |
| XYZ | xyz(21.9879, 15.7226, 43.4629) |
| Luminance | 0.1572 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.81
Amethyst
#9B5FC0
ΔE00 4.36
Royal Purple
#7851A9
ΔE00 4.45
Purply
#983FB2
ΔE00 6.55
Deep Lilac
#966EBD
ΔE00 7.02
Medium Purple
#9E43A2
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A59B1 #80B159
analogous
#5E59B1 #8A59B1 #B159AC
triadic
#8A59B1 #B18A59 #59B18A
tetradic
#8A59B1 #B15E59 #80B159 #59ACB1
square
#8A59B1 #B15E59 #80B159 #59ACB1
split-complementary
#8A59B1 #ACB159 #59B15E
monochromatic
#4B2E62 #6B418B #8A59B1 #A783C5 #C5ACD8
Accessibility & contrast
On white
5.07
#8A59B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#8A59B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A59B1
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A59B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A59B1 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#426CB4
Deuteranopia (green-blind)
#4F6FAF
Tritanopia (blue-blind)
#85687D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8a59b1; /* rgb */ color: rgb(138, 89, 177); /* oklch */ color: oklch(55.5% 0.140 308.2);
Tailwind
colors: {
custom: {
50: '#ae89c9',
500: '#8a59b1',
950: '#000000',
},
}SCSS
$custom: #8a59b1; $custom-light: #ae89c9; $custom-dark: #000000;
JSON
{
"hex": "#8a59b1",
"rgb": {
"r": 138,
"g": 89,
"b": 177
},
"hsl": {
"h": 273.409,
"s": 36.066,
"l": 52.157
},
"oklch": {
"l": 0.55507,
"c": 0.13991,
"h": 308.2
},
"luminance": 0.15722
}Semantic roles & 50–950 ramp
primary
#8A59B1
secondary
#B1C6A0
accent
#CC5C8E
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#100C13
muted
#7F7D82