#8A59BE#8A59BE
#8A59BE is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.3% C 0.156 H 304.3°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8A59BE |
|---|---|
| RGB | rgb(138, 89, 190) |
| HSL | hsl(269, 44%, 55%) |
| HSV | hsv(269, 53%, 75%) |
| CMYK | cmyk(27.4%, 53.2%, 0%, 25.5%) |
| CIE-LAB | lab(47.32, 40.20, -45.76) |
| CIE-LCH | lch(47.32, 60.90, 311.30°) |
| OKLab | oklab(56.27% 0.0877 -0.1288) |
| OKLCH | oklch(56.27% 0.156 304.3) |
| XYZ | xyz(23.3459, 16.2658, 50.6149) |
| Luminance | 0.1627 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.31
Amethyst
#9B5FC0
ΔE00 4.17
Royal Purple
#7851A9
ΔE00 5.08
Purpley
#8756E4
ΔE00 6.17
Purply
#983FB2
ΔE00 7.02
Light Indigo
#6D5ACF
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A59BE #8DBE59
analogous
#595BBE #8A59BE #BD59BE
triadic
#8A59BE #BE8A59 #59BE8A
tetradic
#8A59BE #BE595B #8DBE59 #59BEBD
square
#8A59BE #BE595B #8DBE59 #59BEBD
split-complementary
#8A59BE #BEBD59 #5BBE59
monochromatic
#4D2C71 #6B3D9D #8A59BE #A985CF #C8B1E0
Accessibility & contrast
On white
4.94
#8A59BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#8A59BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A59BE
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A59BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A59BE | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#376FC1
Deuteranopia (green-blind)
#4670BC
Tritanopia (blue-blind)
#816C83
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8a59be; /* rgb */ color: rgb(138, 89, 190); /* oklch */ color: oklch(56.3% 0.156 304.3);
Tailwind
colors: {
custom: {
50: '#af89d2',
500: '#8a59be',
950: '#000000',
},
}SCSS
$custom: #8a59be; $custom-light: #af89d2; $custom-dark: #000000;
JSON
{
"hex": "#8a59be",
"rgb": {
"r": 138,
"g": 89,
"b": 190
},
"hsl": {
"h": 269.109,
"s": 43.723,
"l": 54.706
},
"oklch": {
"l": 0.56267,
"c": 0.15578,
"h": 304.3
},
"luminance": 0.16266
}Semantic roles & 50–950 ramp
primary
#8A59BE
secondary
#BACFA4
accent
#D35496
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110C14
muted
#807D82