#8A4FAE#8A4FAE
#8A4FAE is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.8% C 0.153 H 311.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #8A4FAE |
|---|---|
| RGB | rgb(138, 79, 174) |
| HSL | hsl(277, 38%, 50%) |
| HSV | hsv(277, 55%, 68%) |
| CMYK | cmyk(20.7%, 54.6%, 0%, 31.8%) |
| CIE-LAB | lab(44.31, 41.92, -41.20) |
| CIE-LCH | lch(44.31, 58.78, 315.50°) |
| OKLab | oklab(53.75% 0.1002 -0.1154) |
| OKLCH | oklch(53.75% 0.153 311) |
| XYZ | xyz(20.9158, 14.0517, 41.6466) |
| Luminance | 0.1405 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.86
Purply
#983FB2
ΔE00 4.15
Deep Lavender
#8D5EB7
ΔE00 4.47
Medium Purple
#9E43A2
ΔE00 5.77
Amethyst
#9B5FC0
ΔE00 6.22
Darkorchid
#9932CC
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A4FAE #73AE4F
analogous
#5B4FAE #8A4FAE #AE4FA3
triadic
#8A4FAE #AE8A4F #4FAE8A
tetradic
#8A4FAE #AE5B4F #73AE4F #4FA3AE
square
#8A4FAE #AE5B4F #73AE4F #4FA3AE
split-complementary
#8A4FAE #A3AE4F #4FAE5B
monochromatic
#47295A #693C84 #8A4FAE #A678C2 #C2A2D5
Accessibility & contrast
On white
5.51
#8A4FAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#8A4FAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A4FAE
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A4FAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A4FAE | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3466B1
Deuteranopia (green-blind)
#486AAC
Tritanopia (blue-blind)
#865F77
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8a4fae; /* rgb */ color: rgb(138, 79, 174); /* oklch */ color: oklch(53.8% 0.153 311.0);
Tailwind
colors: {
custom: {
50: '#ae83c6',
500: '#8a4fae',
950: '#000000',
},
}SCSS
$custom: #8a4fae; $custom-light: #ae83c6; $custom-dark: #000000;
JSON
{
"hex": "#8a4fae",
"rgb": {
"r": 138,
"g": 79,
"b": 174
},
"hsl": {
"h": 277.263,
"s": 37.549,
"l": 49.608
},
"oklch": {
"l": 0.53751,
"c": 0.15282,
"h": 311
},
"luminance": 0.14051
}Semantic roles & 50–950 ramp
primary
#8A4FAE
secondary
#A7C297
accent
#CE5A86
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82