#A534A6#A534A6
#A534A6 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.5% C 0.197 H 327.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A534A6 |
|---|---|
| RGB | rgb(165, 52, 166) |
| HSL | hsl(299, 52%, 43%) |
| HSV | hsv(299, 69%, 65%) |
| CMYK | cmyk(0.6%, 68.7%, 0%, 34.9%) |
| CIE-LAB | lab(43.08, 59.74, -38.18) |
| CIE-LCH | lch(43.08, 70.90, 327.42°) |
| OKLab | oklab(53.5% 0.1661 -0.1057) |
| OKLCH | oklch(53.5% 0.197 327.5) |
| XYZ | xyz(23.6276, 13.2101, 37.3743) |
| Luminance | 0.1321 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.65
Ugly Purple
#A442A0
ΔE00 2.86
Barney
#AC1DB8
ΔE00 3.60
Purply
#983FB2
ΔE00 3.94
Warm Purple
#952E8F
ΔE00 4.73
Barney Purple
#A00498
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A534A6 #35A634
analogous
#6C34A6 #A534A6 #A6346E
triadic
#A534A6 #A6A534 #34A6A5
tetradic
#A534A6 #A66C34 #35A634 #346EA6
square
#A534A6 #A66C34 #35A634 #346EA6
split-complementary
#A534A6 #6EA634 #34A66C
monochromatic
#481749 #772577 #A534A6 #C74FC8 #D67ED7
Accessibility & contrast
On white
5.77
#A534A6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#A534A6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A534A6
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A534A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A534A6 | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215CA9
Deuteranopia (green-blind)
#506BA3
Tritanopia (blue-blind)
#AA4569
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #a534a6; /* rgb */ color: rgb(165, 52, 166); /* oklch */ color: oklch(53.5% 0.197 327.5);
Tailwind
colors: {
custom: {
50: '#c376c1',
500: '#a534a6',
950: '#000000',
},
}SCSS
$custom: #a534a6; $custom-light: #c376c1; $custom-dark: #000000;
JSON
{
"hex": "#a534a6",
"rgb": {
"r": 165,
"g": 52,
"b": 166
},
"hsl": {
"h": 299.474,
"s": 52.294,
"l": 42.745
},
"oklch": {
"l": 0.53501,
"c": 0.19689,
"h": 327.5
},
"luminance": 0.13208
}Semantic roles & 50–950 ramp
primary
#A534A6
secondary
#77C076
accent
#DC4C4D
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81