#A04EC8#A04EC8
#A04EC8 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.8% C 0.191 H 313.0°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #A04EC8 |
|---|---|
| RGB | rgb(160, 78, 200) |
| HSL | hsl(280, 53%, 55%) |
| HSV | hsv(280, 61%, 78%) |
| CMYK | cmyk(20%, 61%, 0%, 21.6%) |
| CIE-LAB | lab(48.38, 53.79, -49.70) |
| CIE-LCH | lch(48.38, 73.24, 317.27°) |
| OKLab | oklab(57.81% 0.1301 -0.1396) |
| OKLCH | oklch(57.81% 0.191 313) |
| XYZ | xyz(27.6451, 17.0932, 56.4754) |
| Luminance | 0.1709 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.33
Lightish Purple
#A552E6
ΔE00 4.83
Purply
#983FB2
ΔE00 5.20
Deep Lavender
#8D5EB7
ΔE00 5.55
Mediumorchid
#BA55D3
ΔE00 5.82
Darkorchid
#9932CC
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A04EC8 #76C84E
analogous
#634EC8 #A04EC8 #C84EB3
triadic
#A04EC8 #C8A04E #4EC8A0
tetradic
#A04EC8 #C8634E #76C84E #4EB3C8
square
#A04EC8 #C8634E #76C84E #4EB3C8
split-complementary
#A04EC8 #B3C84E #4EC863
monochromatic
#5C2577 #8033A5 #A04EC8 #B97DD7 #D2ABE5
Accessibility & contrast
On white
4.75
#A04EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#A04EC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A04EC8
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A04EC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A04EC8 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#216FCC
Deuteranopia (green-blind)
#4775C5
Tritanopia (blue-blind)
#9C6484
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #a04ec8; /* rgb */ color: rgb(160, 78, 200); /* oklch */ color: oklch(57.8% 0.191 313.0);
Tailwind
colors: {
custom: {
50: '#bf84d9',
500: '#a04ec8',
950: '#000000',
},
}SCSS
$custom: #a04ec8; $custom-light: #bf84d9; $custom-dark: #000000;
JSON
{
"hex": "#a04ec8",
"rgb": {
"r": 160,
"g": 78,
"b": 200
},
"hsl": {
"h": 280.328,
"s": 52.586,
"l": 54.51
},
"oklch": {
"l": 0.57807,
"c": 0.19085,
"h": 313
},
"luminance": 0.17092
}Semantic roles & 50–950 ramp
primary
#A04EC8
secondary
#B0D39F
accent
#DC4C7B
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83