#A336A0#A336A0
#A336A0 is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.1% C 0.188 H 329.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A336A0 |
|---|---|
| RGB | rgb(163, 54, 160) |
| HSL | hsl(302, 50%, 43%) |
| HSV | hsv(302, 67%, 64%) |
| CMYK | cmyk(0%, 66.9%, 1.8%, 36.1%) |
| CIE-LAB | lab(42.71, 57.47, -35.20) |
| CIE-LCH | lch(42.71, 67.39, 328.52°) |
| OKLab | oklab(53.07% 0.1615 -0.0971) |
| OKLCH | oklch(53.07% 0.188 329) |
| XYZ | xyz(22.7684, 12.9645, 34.5541) |
| Luminance | 0.1296 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.36
Ugly Purple
#A442A0
ΔE00 2.37
Warm Purple
#952E8F
ΔE00 4.01
Purply
#983FB2
ΔE00 4.58
Barney
#AC1DB8
ΔE00 4.61
Barney Purple
#A00498
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A336A0 #36A339
analogous
#6F36A3 #A336A0 #A3366A
triadic
#A336A0 #A0A336 #36A0A3
tetradic
#A336A0 #A36F36 #36A339 #366AA3
square
#A336A0 #A36F36 #36A339 #366AA3
split-complementary
#A336A0 #6AA336 #36A36F
monochromatic
#471846 #752773 #A336A0 #C551C2 #D57FD2
Accessibility & contrast
On white
5.85
#A336A0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#A336A0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A336A0
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A336A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A336A0 | 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)
#295CA3
Deuteranopia (green-blind)
#536A9D
Tritanopia (blue-blind)
#A94466
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #a336a0; /* rgb */ color: rgb(163, 54, 160); /* oklch */ color: oklch(53.1% 0.188 329.0);
Tailwind
colors: {
custom: {
50: '#c176bc',
500: '#a336a0',
950: '#000000',
},
}SCSS
$custom: #a336a0; $custom-light: #c176bc; $custom-dark: #000000;
JSON
{
"hex": "#a336a0",
"rgb": {
"r": 163,
"g": 54,
"b": 160
},
"hsl": {
"h": 301.651,
"s": 50.23,
"l": 42.549
},
"oklch": {
"l": 0.53068,
"c": 0.18844,
"h": 329
},
"luminance": 0.12963
}Semantic roles & 50–950 ramp
primary
#A336A0
secondary
#77BE79
accent
#DA524E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81