#A334A6#A334A6
#A334A6 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.2% C 0.196 H 326.8°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A334A6 |
|---|---|
| RGB | rgb(163, 52, 166) |
| HSL | hsl(298, 52%, 43%) |
| HSV | hsv(298, 69%, 65%) |
| CMYK | cmyk(1.8%, 68.7%, 0%, 34.9%) |
| CIE-LAB | lab(42.76, 59.27, -38.70) |
| CIE-LCH | lch(42.76, 70.79, 326.86°) |
| OKLab | oklab(53.21% 0.1639 -0.1073) |
| OKLCH | oklch(53.21% 0.196 326.8) |
| XYZ | xyz(23.2148, 12.9972, 37.3550) |
| Luminance | 0.1300 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.69
Ugly Purple
#A442A0
ΔE00 3.08
Barney
#AC1DB8
ΔE00 3.53
Purply
#983FB2
ΔE00 3.67
Warm Purple
#952E8F
ΔE00 4.56
Barney Purple
#A00498
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A334A6 #37A634
analogous
#6A34A6 #A334A6 #A63470
triadic
#A334A6 #A6A334 #34A6A3
tetradic
#A334A6 #A66A34 #37A634 #3470A6
square
#A334A6 #A66A34 #37A634 #3470A6
split-complementary
#A334A6 #70A634 #34A66A
monochromatic
#471749 #752577 #A334A6 #C54FC8 #D47ED7
Accessibility & contrast
On white
5.83
#A334A6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#A334A6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A334A6
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A334A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A334A6 | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F5CA9
Deuteranopia (green-blind)
#4E6AA3
Tritanopia (blue-blind)
#A84569
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #a334a6; /* rgb */ color: rgb(163, 52, 166); /* oklch */ color: oklch(53.2% 0.196 326.8);
Tailwind
colors: {
custom: {
50: '#c275c1',
500: '#a334a6',
950: '#000000',
},
}SCSS
$custom: #a334a6; $custom-light: #c275c1; $custom-dark: #000000;
JSON
{
"hex": "#a334a6",
"rgb": {
"r": 163,
"g": 52,
"b": 166
},
"hsl": {
"h": 298.421,
"s": 52.294,
"l": 42.745
},
"oklch": {
"l": 0.53209,
"c": 0.19587,
"h": 326.8
},
"luminance": 0.12996
}Semantic roles & 50–950 ramp
primary
#A334A6
secondary
#78C076
accent
#DC4C50
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81