#8A4EAF#8A4EAF
#8A4EAF is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.156 H 310.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4EAF |
|---|---|
| RGB | rgb(138, 78, 175) |
| HSL | hsl(277, 38%, 50%) |
| HSV | hsv(277, 55%, 69%) |
| CMYK | cmyk(21.1%, 55.4%, 0%, 31.4%) |
| CIE-LAB | lab(44.16, 42.69, -42.03) |
| CIE-LCH | lch(44.16, 59.91, 315.45°) |
| OKLab | oklab(53.66% 0.1016 -0.1178) |
| OKLCH | oklch(53.66% 0.156 310.8) |
| XYZ | xyz(20.9421, 13.9476, 42.1381) |
| Luminance | 0.1395 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.88
Purply
#983FB2
ΔE00 3.95
Deep Lavender
#8D5EB7
ΔE00 4.67
Medium Purple
#9E43A2
ΔE00 5.81
Amethyst
#9B5FC0
ΔE00 6.36
Darkorchid
#9932CC
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4EAF #73AF4E
analogous
#594EAF #8A4EAF #AF4EA4
triadic
#8A4EAF #AF8A4E #4EAF8A
tetradic
#8A4EAF #AF594E #73AF4E #4EA4AF
square
#8A4EAF #AF594E #73AF4E #4EA4AF
split-complementary
#8A4EAF #A4AF4E #4EAF59
monochromatic
#47285A #693B85 #8A4EAF #A678C3 #C2A2D6
Accessibility & contrast
On white
5.54
#8A4EAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#8A4EAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4EAF
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4EAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4EAF | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3166B2
Deuteranopia (green-blind)
#466AAD
Tritanopia (blue-blind)
#865F77
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8a4eaf; /* rgb */ color: rgb(138, 78, 175); /* oklch */ color: oklch(53.7% 0.156 310.8);
Tailwind
colors: {
custom: {
50: '#af82c7',
500: '#8a4eaf',
950: '#000000',
},
}SCSS
$custom: #8a4eaf; $custom-light: #af82c7; $custom-dark: #000000;
JSON
{
"hex": "#8a4eaf",
"rgb": {
"r": 138,
"g": 78,
"b": 175
},
"hsl": {
"h": 277.113,
"s": 38.34,
"l": 49.608
},
"oklch": {
"l": 0.5366,
"c": 0.15558,
"h": 310.8
},
"luminance": 0.13947
}Semantic roles & 50–950 ramp
primary
#8A4EAF
secondary
#A7C396
accent
#CE5A86
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82