#A236A0#A236A0
#A236A0 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 52.9% C 0.188 H 328.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A236A0 |
|---|---|
| RGB | rgb(162, 54, 160) |
| HSL | hsl(301, 50%, 42%) |
| HSV | hsv(301, 67%, 64%) |
| CMYK | cmyk(0%, 66.7%, 1.2%, 36.5%) |
| CIE-LAB | lab(42.55, 57.22, -35.46) |
| CIE-LCH | lch(42.55, 67.32, 328.22°) |
| OKLab | oklab(52.92% 0.1604 -0.0979) |
| OKLCH | oklch(52.92% 0.188 328.6) |
| XYZ | xyz(22.5644, 12.8594, 34.5445) |
| Luminance | 0.1286 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.35
Ugly Purple
#A442A0
ΔE00 2.48
Warm Purple
#952E8F
ΔE00 3.89
Purply
#983FB2
ΔE00 4.46
Barney
#AC1DB8
ΔE00 4.57
Barney Purple
#A00498
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A236A0 #36A238
analogous
#6E36A2 #A236A0 #A2366A
triadic
#A236A0 #A0A236 #36A0A2
tetradic
#A236A0 #A26E36 #36A238 #366AA2
square
#A236A0 #A26E36 #36A238 #366AA2
split-complementary
#A236A0 #6AA236 #36A26E
monochromatic
#461745 #742773 #A236A0 #C550C3 #D47ED3
Accessibility & contrast
On white
5.88
#A236A0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#A236A0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A236A0
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A236A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A236A0 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#295BA3
Deuteranopia (green-blind)
#52699D
Tritanopia (blue-blind)
#A74466
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #a236a0; /* rgb */ color: rgb(162, 54, 160); /* oklch */ color: oklch(52.9% 0.188 328.6);
Tailwind
colors: {
custom: {
50: '#c176bc',
500: '#a236a0',
950: '#000000',
},
}SCSS
$custom: #a236a0; $custom-light: #c176bc; $custom-dark: #000000;
JSON
{
"hex": "#a236a0",
"rgb": {
"r": 162,
"g": 54,
"b": 160
},
"hsl": {
"h": 301.111,
"s": 50,
"l": 42.353
},
"oklch": {
"l": 0.52922,
"c": 0.1879,
"h": 328.6
},
"luminance": 0.12858
}Semantic roles & 50–950 ramp
primary
#A236A0
secondary
#77BD78
accent
#DA514E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81