#8A4ABE#8A4ABE
#8A4ABE is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.179 H 306.8°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4ABE |
|---|---|
| RGB | rgb(138, 74, 190) |
| HSL | hsl(273, 47%, 52%) |
| HSV | hsv(273, 61%, 75%) |
| CMYK | cmyk(27.4%, 61.1%, 0%, 25.5%) |
| CIE-LAB | lab(44.26, 48.28, -50.65) |
| CIE-LCH | lch(44.26, 69.98, 313.63°) |
| OKLab | oklab(54.02% 0.107 -0.143) |
| OKLCH | oklch(54.02% 0.179 306.8) |
| XYZ | xyz(22.2223, 14.0188, 50.2404) |
| Luminance | 0.1402 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.34
Darkorchid
#9932CC
ΔE00 4.70
Royal Purple
#7851A9
ΔE00 4.87
Deep Lavender
#8D5EB7
ΔE00 5.75
Purpley
#8756E4
ΔE00 6.91
Blueviolet
#8A2BE2
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4ABE #7EBE4A
analogous
#504ABE #8A4ABE #BE4AB8
triadic
#8A4ABE #BE8A4A #4ABE8A
tetradic
#8A4ABE #BE504A #7EBE4A #4AB8BE
square
#8A4ABE #BE504A #7EBE4A #4AB8BE
split-complementary
#8A4ABE #B8BE4A #4ABE50
monochromatic
#4A2568 #6A3695 #8A4ABE #A777CE #C4A4DE
Accessibility & contrast
On white
5.52
#8A4ABE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#8A4ABE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4ABE
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4ABE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4ABE | 1.00 | 5.52 | 3.80 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1066C2
Deuteranopia (green-blind)
#3469BB
Tritanopia (blue-blind)
#82617D
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8a4abe; /* rgb */ color: rgb(138, 74, 190); /* oklch */ color: oklch(54.0% 0.179 306.8);
Tailwind
colors: {
custom: {
50: '#b080d2',
500: '#8a4abe',
950: '#000000',
},
}SCSS
$custom: #8a4abe; $custom-light: #b080d2; $custom-dark: #000000;
JSON
{
"hex": "#8a4abe",
"rgb": {
"r": 138,
"g": 74,
"b": 190
},
"hsl": {
"h": 273.103,
"s": 47.154,
"l": 51.765
},
"oklch": {
"l": 0.54022,
"c": 0.17866,
"h": 306.8
},
"luminance": 0.14019
}Semantic roles & 50–950 ramp
primary
#8A4ABE
secondary
#AFCB98
accent
#D7518D
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83