#A34EC7#A34EC7
#A34EC7 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.1% C 0.191 H 314.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A34EC7 |
|---|---|
| RGB | rgb(163, 78, 199) |
| HSL | hsl(282, 52%, 54%) |
| HSV | hsv(282, 61%, 78%) |
| CMYK | cmyk(18.1%, 60.8%, 0%, 22%) |
| CIE-LAB | lab(48.71, 54.31, -48.57) |
| CIE-LCH | lch(48.71, 72.86, 318.19°) |
| OKLab | oklab(58.11% 0.1339 -0.1362) |
| OKLCH | oklch(58.11% 0.191 314.5) |
| XYZ | xyz(28.1358, 17.3597, 55.8904) |
| Luminance | 0.1736 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.27
Lightish Purple
#A552E6
ΔE00 5.01
Mediumorchid
#BA55D3
ΔE00 5.29
Purply
#983FB2
ΔE00 5.31
Deep Lavender
#8D5EB7
ΔE00 5.77
Darkorchid
#9932CC
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A34EC7 #72C74E
analogous
#674EC7 #A34EC7 #C74EAE
triadic
#A34EC7 #C7A34E #4EC7A3
tetradic
#A34EC7 #C7674E #72C74E #4EAEC7
square
#A34EC7 #C7674E #72C74E #4EAEC7
split-complementary
#A34EC7 #AEC74E #4EC767
monochromatic
#5E2575 #8334A4 #A34EC7 #BB7CD6 #D3ABE4
Accessibility & contrast
On white
4.70
#A34EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#A34EC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A34EC7
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A34EC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A34EC7 | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#266FCB
Deuteranopia (green-blind)
#4B76C4
Tritanopia (blue-blind)
#A06483
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a34ec7; /* rgb */ color: rgb(163, 78, 199); /* oklch */ color: oklch(58.1% 0.191 314.5);
Tailwind
colors: {
custom: {
50: '#c184d8',
500: '#a34ec7',
950: '#000000',
},
}SCSS
$custom: #a34ec7; $custom-light: #c184d8; $custom-dark: #000000;
JSON
{
"hex": "#a34ec7",
"rgb": {
"r": 163,
"g": 78,
"b": 199
},
"hsl": {
"h": 282.149,
"s": 51.931,
"l": 54.314
},
"oklch": {
"l": 0.58114,
"c": 0.19098,
"h": 314.5
},
"luminance": 0.17359
}Semantic roles & 50–950 ramp
primary
#A34EC7
secondary
#AED29F
accent
#DB4C77
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B15
muted
#827C83