#8A58C0#8A58C0
#8A58C0 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.2% C 0.160 H 303.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8A58C0 |
|---|---|
| RGB | rgb(138, 88, 192) |
| HSL | hsl(269, 45%, 55%) |
| HSV | hsv(269, 54%, 75%) |
| CMYK | cmyk(28.1%, 54.2%, 0%, 24.7%) |
| CIE-LAB | lab(47.22, 41.24, -47.07) |
| CIE-LCH | lch(47.22, 62.58, 311.22°) |
| OKLab | oklab(56.23% 0.0891 -0.1326) |
| OKLCH | oklch(56.23% 0.16 303.9) |
| XYZ | xyz(23.4833, 16.1886, 51.7465) |
| Luminance | 0.1619 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.75
Amethyst
#9B5FC0
ΔE00 4.39
Royal Purple
#7851A9
ΔE00 5.16
Purpley
#8756E4
ΔE00 5.79
Light Indigo
#6D5ACF
ΔE00 6.87
Purply
#983FB2
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A58C0 #8EC058
analogous
#585AC0 #8A58C0 #BE58C0
triadic
#8A58C0 #C08A58 #58C08A
tetradic
#8A58C0 #C0585A #8EC058 #58C0BE
square
#8A58C0 #C0585A #8EC058 #58C0BE
split-complementary
#8A58C0 #C0BE58 #5AC058
monochromatic
#4D2B72 #6B3C9F #8A58C0 #A984D1 #C8B1E2
Accessibility & contrast
On white
4.96
#8A58C0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#8A58C0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A58C0
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A58C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A58C0 | 1.00 | 4.96 | 4.24 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#336FC3
Deuteranopia (green-blind)
#4470BE
Tritanopia (blue-blind)
#806C84
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8a58c0; /* rgb */ color: rgb(138, 88, 192); /* oklch */ color: oklch(56.2% 0.160 303.9);
Tailwind
colors: {
custom: {
50: '#af89d3',
500: '#8a58c0',
950: '#000000',
},
}SCSS
$custom: #8a58c0; $custom-light: #af89d3; $custom-dark: #000000;
JSON
{
"hex": "#8a58c0",
"rgb": {
"r": 138,
"g": 88,
"b": 192
},
"hsl": {
"h": 268.846,
"s": 45.217,
"l": 54.902
},
"oklch": {
"l": 0.5623,
"c": 0.15978,
"h": 303.9
},
"luminance": 0.16188
}Semantic roles & 50–950 ramp
primary
#8A58C0
secondary
#BBD0A4
accent
#D55396
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83