#A334A5#A334A5
#A334A5 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.2% C 0.195 H 327.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A334A5 |
|---|---|
| RGB | rgb(163, 52, 165) |
| HSL | hsl(299, 52%, 43%) |
| HSV | hsv(299, 68%, 65%) |
| CMYK | cmyk(1.2%, 68.5%, 0%, 35.3%) |
| CIE-LAB | lab(42.70, 59.10, -38.19) |
| CIE-LCH | lch(42.70, 70.37, 327.13°) |
| OKLab | oklab(53.15% 0.1639 -0.1058) |
| OKLCH | oklch(53.15% 0.195 327.2) |
| XYZ | xyz(23.1234, 12.9607, 36.8738) |
| Luminance | 0.1296 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.65
Ugly Purple
#A442A0
ΔE00 2.99
Barney
#AC1DB8
ΔE00 3.67
Purply
#983FB2
ΔE00 3.82
Warm Purple
#952E8F
ΔE00 4.43
Barney Purple
#A00498
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A334A5 #36A534
analogous
#6A34A5 #A334A5 #A5346F
triadic
#A334A5 #A5A334 #34A5A3
tetradic
#A334A5 #A56A34 #36A534 #346FA5
square
#A334A5 #A56A34 #36A534 #346FA5
split-complementary
#A334A5 #6FA534 #34A56A
monochromatic
#471748 #752576 #A334A5 #C54FC7 #D57DD6
Accessibility & contrast
On white
5.85
#A334A5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#A334A5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A334A5
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A334A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A334A5 | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215CA8
Deuteranopia (green-blind)
#4F6AA2
Tritanopia (blue-blind)
#A84568
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #a334a5; /* rgb */ color: rgb(163, 52, 165); /* oklch */ color: oklch(53.2% 0.195 327.2);
Tailwind
colors: {
custom: {
50: '#c275c0',
500: '#a334a5',
950: '#000000',
},
}SCSS
$custom: #a334a5; $custom-light: #c275c0; $custom-dark: #000000;
JSON
{
"hex": "#a334a5",
"rgb": {
"r": 163,
"g": 52,
"b": 165
},
"hsl": {
"h": 298.938,
"s": 52.074,
"l": 42.549
},
"oklch": {
"l": 0.53151,
"c": 0.19505,
"h": 327.2
},
"luminance": 0.12959
}Semantic roles & 50–950 ramp
primary
#A334A5
secondary
#77BF76
accent
#DC4C4F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81