#A34EC2#A34EC2
#A34EC2 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.8% C 0.186 H 316.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A34EC2 |
|---|---|
| RGB | rgb(163, 78, 194) |
| HSL | hsl(284, 49%, 53%) |
| HSV | hsv(284, 60%, 76%) |
| CMYK | cmyk(16%, 59.8%, 0%, 23.9%) |
| CIE-LAB | lab(48.42, 53.27, -46.13) |
| CIE-LCH | lch(48.42, 70.47, 319.10°) |
| OKLab | oklab(57.81% 0.1338 -0.1291) |
| OKLCH | oklch(57.81% 0.186 316) |
| XYZ | xyz(27.5648, 17.1313, 52.8831) |
| Luminance | 0.1713 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.22
Purply
#983FB2
ΔE00 4.87
Mediumorchid
#BA55D3
ΔE00 5.49
Deep Lavender
#8D5EB7
ΔE00 5.64
Lightish Purple
#A552E6
ΔE00 5.84
Medium Purple
#9E43A2
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A34EC2 #6DC24E
analogous
#694EC2 #A34EC2 #C24EA7
triadic
#A34EC2 #C2A34E #4EC2A3
tetradic
#A34EC2 #C2694E #6DC24E #4EA7C2
square
#A34EC2 #C2694E #6DC24E #4EA7C2
split-complementary
#A34EC2 #A7C24E #4EC269
monochromatic
#5C266F #81369D #A34EC2 #BB7CD2 #D2A9E1
Accessibility & contrast
On white
4.74
#A34EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#A34EC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A34EC2
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A34EC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A34EC2 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C6EC6
Deuteranopia (green-blind)
#4E75BF
Tritanopia (blue-blind)
#A16281
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #a34ec2; /* rgb */ color: rgb(163, 78, 194); /* oklch */ color: oklch(57.8% 0.186 316.0);
Tailwind
colors: {
custom: {
50: '#c184d5',
500: '#a34ec2',
950: '#000000',
},
}SCSS
$custom: #a34ec2; $custom-light: #c184d5; $custom-dark: #000000;
JSON
{
"hex": "#a34ec2",
"rgb": {
"r": 163,
"g": 78,
"b": 194
},
"hsl": {
"h": 283.966,
"s": 48.739,
"l": 53.333
},
"oklch": {
"l": 0.57814,
"c": 0.18591,
"h": 316
},
"luminance": 0.1713
}Semantic roles & 50–950 ramp
primary
#A34EC2
secondary
#AACF9D
accent
#D85074
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83