#A236A1#A236A1
#A236A1 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.0% C 0.189 H 328.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A236A1 |
|---|---|
| RGB | rgb(162, 54, 161) |
| HSL | hsl(301, 50%, 42%) |
| HSV | hsv(301, 67%, 64%) |
| CMYK | cmyk(0%, 66.7%, 0.6%, 36.5%) |
| CIE-LAB | lab(42.60, 57.40, -35.97) |
| CIE-LCH | lch(42.60, 67.74, 327.92°) |
| OKLab | oklab(52.98% 0.1604 -0.0994) |
| OKLCH | oklch(52.98% 0.189 328.2) |
| XYZ | xyz(22.6522, 12.8945, 35.0071) |
| Luminance | 0.1289 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.32
Ugly Purple
#A442A0
ΔE00 2.53
Warm Purple
#952E8F
ΔE00 4.00
Purply
#983FB2
ΔE00 4.29
Barney
#AC1DB8
ΔE00 4.42
Barney Purple
#A00498
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A236A1 #36A237
analogous
#6D36A2 #A236A1 #A2366B
triadic
#A236A1 #A1A236 #36A1A2
tetradic
#A236A1 #A26D36 #36A237 #366BA2
square
#A236A1 #A26D36 #36A237 #366BA2
split-complementary
#A236A1 #6BA236 #36A26D
monochromatic
#461746 #742773 #A236A1 #C550C4 #D47ED3
Accessibility & contrast
On white
5.87
#A236A1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#A236A1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A236A1
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A236A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A236A1 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#285BA4
Deuteranopia (green-blind)
#516A9E
Tritanopia (blue-blind)
#A74467
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #a236a1; /* rgb */ color: rgb(162, 54, 161); /* oklch */ color: oklch(53.0% 0.189 328.2);
Tailwind
colors: {
custom: {
50: '#c176bd',
500: '#a236a1',
950: '#000000',
},
}SCSS
$custom: #a236a1; $custom-light: #c176bd; $custom-dark: #000000;
JSON
{
"hex": "#a236a1",
"rgb": {
"r": 162,
"g": 54,
"b": 161
},
"hsl": {
"h": 300.556,
"s": 50,
"l": 42.353
},
"oklch": {
"l": 0.52977,
"c": 0.18872,
"h": 328.2
},
"luminance": 0.12893
}Semantic roles & 50–950 ramp
primary
#A236A1
secondary
#77BD77
accent
#DA504E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81