#8A3ABE#8A3ABE
#8A3ABE is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.200 H 308.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8A3ABE |
|---|---|
| RGB | rgb(138, 58, 190) |
| HSL | hsl(276, 53%, 49%) |
| HSV | hsv(276, 69%, 75%) |
| CMYK | cmyk(27.4%, 69.5%, 0%, 25.5%) |
| CIE-LAB | lab(41.45, 56.01, -55.18) |
| CIE-LCH | lch(41.45, 78.62, 315.43°) |
| OKLab | oklab(52% 0.1254 -0.1563) |
| OKLCH | oklch(52% 0.2 308.7) |
| XYZ | xyz(21.2867, 12.1475, 49.9285) |
| Luminance | 0.1215 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.97
Purply
#983FB2
ΔE00 4.20
Blueviolet
#8A2BE2
ΔE00 5.18
Darkviolet
#9400D3
ΔE00 5.29
Violet (survey)
#9A0EEA
ΔE00 6.39
Barney
#AC1DB8
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A3ABE #6EBE3A
analogous
#483ABE #8A3ABE #BE3AB0
triadic
#8A3ABE #BE8A3A #3ABE8A
tetradic
#8A3ABE #BE483A #6EBE3A #3AB0BE
square
#8A3ABE #BE483A #6EBE3A #3AB0BE
split-complementary
#8A3ABE #B0BE3A #3ABE48
monochromatic
#461D60 #682C8F #8A3ABE #A665D0 #C194DE
Accessibility & contrast
On white
6.12
#8A3ABE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#8A3ABE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A3ABE
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A3ABE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A3ABE | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#1D63BB
Tritanopia (blue-blind)
#825778
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8a3abe; /* rgb */ color: rgb(138, 58, 190); /* oklch */ color: oklch(52.0% 0.200 308.7);
Tailwind
colors: {
custom: {
50: '#b177d2',
500: '#8a3abe',
950: '#000000',
},
}SCSS
$custom: #8a3abe; $custom-light: #b177d2; $custom-dark: #000000;
JSON
{
"hex": "#8a3abe",
"rgb": {
"r": 138,
"g": 58,
"b": 190
},
"hsl": {
"h": 276.364,
"s": 53.226,
"l": 48.627
},
"oklch": {
"l": 0.51997,
"c": 0.20036,
"h": 308.7
},
"luminance": 0.12147
}Semantic roles & 50–950 ramp
primary
#8A3ABE
secondary
#A3CA8A
accent
#DD4B84
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83