#A34EC9#A34EC9
#A34EC9 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.2% C 0.193 H 313.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A34EC9 |
|---|---|
| RGB | rgb(163, 78, 201) |
| HSL | hsl(281, 53%, 55%) |
| HSV | hsv(281, 61%, 79%) |
| CMYK | cmyk(18.9%, 61.2%, 0%, 21.2%) |
| CIE-LAB | lab(48.83, 54.73, -49.53) |
| CIE-LCH | lch(48.83, 73.82, 317.85°) |
| OKLab | oklab(58.24% 0.1339 -0.139) |
| OKLCH | oklch(58.24% 0.193 313.9) |
| XYZ | xyz(28.3695, 17.4532, 57.1214) |
| Luminance | 0.1745 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.33
Lightish Purple
#A552E6
ΔE00 4.68
Mediumorchid
#BA55D3
ΔE00 5.25
Purply
#983FB2
ΔE00 5.51
Deep Lavender
#8D5EB7
ΔE00 5.85
Darkorchid
#9932CC
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A34EC9 #74C94E
analogous
#654EC9 #A34EC9 #C94EB2
triadic
#A34EC9 #C9A34E #4EC9A3
tetradic
#A34EC9 #C9654E #74C94E #4EB2C9
square
#A34EC9 #C9654E #74C94E #4EB2C9
split-complementary
#A34EC9 #B2C94E #4EC965
monochromatic
#5E2578 #8333A7 #A34EC9 #BB7DD7 #D4ACE6
Accessibility & contrast
On white
4.68
#A34EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#A34EC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A34EC9
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A34EC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A34EC9 | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#226FCD
Deuteranopia (green-blind)
#4976C6
Tritanopia (blue-blind)
#A06484
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a34ec9; /* rgb */ color: rgb(163, 78, 201); /* oklch */ color: oklch(58.2% 0.193 313.9);
Tailwind
colors: {
custom: {
50: '#c184da',
500: '#a34ec9',
950: '#000000',
},
}SCSS
$custom: #a34ec9; $custom-light: #c184da; $custom-dark: #000000;
JSON
{
"hex": "#a34ec9",
"rgb": {
"r": 163,
"g": 78,
"b": 201
},
"hsl": {
"h": 281.463,
"s": 53.247,
"l": 54.706
},
"oklch": {
"l": 0.58235,
"c": 0.193,
"h": 313.9
},
"luminance": 0.17452
}Semantic roles & 50–950 ramp
primary
#A34EC9
secondary
#AFD39F
accent
#DD4B78
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83