#8A4ABC#8A4ABC
#8A4ABC is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.9% C 0.176 H 307.4°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4ABC |
|---|---|
| RGB | rgb(138, 74, 188) |
| HSL | hsl(274, 46%, 51%) |
| HSV | hsv(274, 61%, 74%) |
| CMYK | cmyk(26.6%, 60.6%, 0%, 26.3%) |
| CIE-LAB | lab(44.14, 47.82, -49.68) |
| CIE-LCH | lch(44.14, 68.96, 313.90°) |
| OKLab | oklab(53.89% 0.1071 -0.1402) |
| OKLCH | oklch(53.89% 0.176 307.4) |
| XYZ | xyz(22.0052, 13.9319, 49.0971) |
| Luminance | 0.1393 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.13
Royal Purple
#7851A9
ΔE00 4.71
Darkorchid
#9932CC
ΔE00 4.80
Deep Lavender
#8D5EB7
ΔE00 5.68
Amethyst
#9B5FC0
ΔE00 6.95
Blueviolet
#8A2BE2
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4ABC #7CBC4A
analogous
#514ABC #8A4ABC #BC4AB5
triadic
#8A4ABC #BC8A4A #4ABC8A
tetradic
#8A4ABC #BC514A #7CBC4A #4AB5BC
square
#8A4ABC #BC514A #7CBC4A #4AB5BC
split-complementary
#8A4ABC #B5BC4A #4ABC51
monochromatic
#4A2666 #6A3693 #8A4ABC #A777CD #C4A3DD
Accessibility & contrast
On white
5.55
#8A4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#8A4ABC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4ABC
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4ABC | 1.00 | 5.55 | 3.79 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1566C0
Deuteranopia (green-blind)
#3769B9
Tritanopia (blue-blind)
#82607C
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8a4abc; /* rgb */ color: rgb(138, 74, 188); /* oklch */ color: oklch(53.9% 0.176 307.4);
Tailwind
colors: {
custom: {
50: '#b080d1',
500: '#8a4abc',
950: '#000000',
},
}SCSS
$custom: #8a4abc; $custom-light: #b080d1; $custom-dark: #000000;
JSON
{
"hex": "#8a4abc",
"rgb": {
"r": 138,
"g": 74,
"b": 188
},
"hsl": {
"h": 273.684,
"s": 45.968,
"l": 51.373
},
"oklch": {
"l": 0.53891,
"c": 0.17642,
"h": 307.4
},
"luminance": 0.13932
}Semantic roles & 50–950 ramp
primary
#8A4ABC
secondary
#AECA98
accent
#D6528C
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82