#8A4CAE#8A4CAE
#8A4CAE is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.3% C 0.158 H 311.4°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4CAE |
|---|---|
| RGB | rgb(138, 76, 174) |
| HSL | hsl(278, 39%, 49%) |
| HSV | hsv(278, 56%, 68%) |
| CMYK | cmyk(20.7%, 56.3%, 0%, 31.8%) |
| CIE-LAB | lab(43.70, 43.54, -42.17) |
| CIE-LCH | lch(43.70, 60.61, 315.91°) |
| OKLab | oklab(53.3% 0.1043 -0.1182) |
| OKLCH | oklch(53.3% 0.158 311.4) |
| XYZ | xyz(20.7043, 13.6286, 41.5761) |
| Luminance | 0.1363 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.58
Royal Purple
#7851A9
ΔE00 4.02
Deep Lavender
#8D5EB7
ΔE00 5.20
Medium Purple
#9E43A2
ΔE00 5.56
Darkorchid
#9932CC
ΔE00 6.44
Amethyst
#9B5FC0
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4CAE #70AE4C
analogous
#594CAE #8A4CAE #AE4CA1
triadic
#8A4CAE #AE8A4C #4CAE8A
tetradic
#8A4CAE #AE594C #70AE4C #4CA1AE
square
#8A4CAE #AE594C #70AE4C #4CA1AE
split-complementary
#8A4CAE #A1AE4C #4CAE59
monochromatic
#462759 #683983 #8A4CAE #A675C3 #C19FD5
Accessibility & contrast
On white
5.64
#8A4CAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#8A4CAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4CAE
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4CAE | 1.00 | 5.64 | 3.73 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F64B1
Deuteranopia (green-blind)
#4569AC
Tritanopia (blue-blind)
#865D76
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8a4cae; /* rgb */ color: rgb(138, 76, 174); /* oklch */ color: oklch(53.3% 0.158 311.4);
Tailwind
colors: {
custom: {
50: '#af81c7',
500: '#8a4cae',
950: '#000000',
},
}SCSS
$custom: #8a4cae; $custom-light: #af81c7; $custom-dark: #000000;
JSON
{
"hex": "#8a4cae",
"rgb": {
"r": 138,
"g": 76,
"b": 174
},
"hsl": {
"h": 277.959,
"s": 39.2,
"l": 49.02
},
"oklch": {
"l": 0.53302,
"c": 0.15763,
"h": 311.4
},
"luminance": 0.13628
}Semantic roles & 50–950 ramp
primary
#8A4CAE
secondary
#A5C294
accent
#CF5984
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82