#A34EC8#A34EC8
#A34EC8 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.2% C 0.192 H 314.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #A34EC8 |
|---|---|
| RGB | rgb(163, 78, 200) |
| HSL | hsl(282, 53%, 55%) |
| HSV | hsv(282, 61%, 78%) |
| CMYK | cmyk(18.5%, 61%, 0%, 21.6%) |
| CIE-LAB | lab(48.77, 54.52, -49.05) |
| CIE-LCH | lch(48.77, 73.33, 318.02°) |
| OKLab | oklab(58.17% 0.1339 -0.1376) |
| OKLCH | oklch(58.17% 0.192 314.2) |
| XYZ | xyz(28.2522, 17.4063, 56.5039) |
| Luminance | 0.1741 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.29
Lightish Purple
#A552E6
ΔE00 4.84
Mediumorchid
#BA55D3
ΔE00 5.27
Purply
#983FB2
ΔE00 5.41
Deep Lavender
#8D5EB7
ΔE00 5.81
Darkorchid
#9932CC
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A34EC8 #73C84E
analogous
#664EC8 #A34EC8 #C84EB0
triadic
#A34EC8 #C8A34E #4EC8A3
tetradic
#A34EC8 #C8664E #73C84E #4EB0C8
square
#A34EC8 #C8664E #73C84E #4EB0C8
split-complementary
#A34EC8 #B0C84E #4EC866
monochromatic
#5E2577 #8333A5 #A34EC8 #BB7DD7 #D4ABE5
Accessibility & contrast
On white
4.69
#A34EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#A34EC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A34EC8
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A34EC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A34EC8 | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#246FCC
Deuteranopia (green-blind)
#4A76C5
Tritanopia (blue-blind)
#A06484
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a34ec8; /* rgb */ color: rgb(163, 78, 200); /* oklch */ color: oklch(58.2% 0.192 314.2);
Tailwind
colors: {
custom: {
50: '#c184d9',
500: '#a34ec8',
950: '#000000',
},
}SCSS
$custom: #a34ec8; $custom-light: #c184d9; $custom-dark: #000000;
JSON
{
"hex": "#a34ec8",
"rgb": {
"r": 163,
"g": 78,
"b": 200
},
"hsl": {
"h": 281.803,
"s": 52.586,
"l": 54.51
},
"oklch": {
"l": 0.58174,
"c": 0.19198,
"h": 314.2
},
"luminance": 0.17405
}Semantic roles & 50–950 ramp
primary
#A34EC8
secondary
#AFD39F
accent
#DC4C78
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B15
muted
#827C83