#A336A2#A336A2
#A336A2 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.2% C 0.190 H 328.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A336A2 |
|---|---|
| RGB | rgb(163, 54, 162) |
| HSL | hsl(301, 50%, 43%) |
| HSV | hsv(301, 67%, 64%) |
| CMYK | cmyk(0%, 66.9%, 0.6%, 36.1%) |
| CIE-LAB | lab(42.82, 57.81, -36.22) |
| CIE-LCH | lch(42.82, 68.22, 327.93°) |
| OKLab | oklab(53.18% 0.1616 -0.1001) |
| OKLCH | oklch(53.18% 0.19 328.2) |
| XYZ | xyz(22.9447, 13.0351, 35.4829) |
| Luminance | 0.1303 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.31
Ugly Purple
#A442A0
ΔE00 2.46
Warm Purple
#952E8F
ΔE00 4.21
Purply
#983FB2
ΔE00 4.25
Barney
#AC1DB8
ΔE00 4.30
Barney Purple
#A00498
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A336A2 #36A337
analogous
#6D36A3 #A336A2 #A3366C
triadic
#A336A2 #A2A336 #36A2A3
tetradic
#A336A2 #A36D36 #36A337 #366CA3
square
#A336A2 #A36D36 #36A337 #366CA3
split-complementary
#A336A2 #6CA336 #36A36D
monochromatic
#471847 #752774 #A336A2 #C551C4 #D57FD4
Accessibility & contrast
On white
5.82
#A336A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#A336A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A336A2
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A336A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A336A2 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#275CA5
Deuteranopia (green-blind)
#526A9F
Tritanopia (blue-blind)
#A84568
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #a336a2; /* rgb */ color: rgb(163, 54, 162); /* oklch */ color: oklch(53.2% 0.190 328.2);
Tailwind
colors: {
custom: {
50: '#c176be',
500: '#a336a2',
950: '#000000',
},
}SCSS
$custom: #a336a2; $custom-light: #c176be; $custom-dark: #000000;
JSON
{
"hex": "#a336a2",
"rgb": {
"r": 163,
"g": 54,
"b": 162
},
"hsl": {
"h": 300.55,
"s": 50.23,
"l": 42.549
},
"oklch": {
"l": 0.53179,
"c": 0.19008,
"h": 328.2
},
"luminance": 0.13033
}Semantic roles & 50–950 ramp
primary
#A336A2
secondary
#77BE78
accent
#DA4F4E
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81