#A236A2#A236A2
#A236A2 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.0% C 0.190 H 327.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A236A2 |
|---|---|
| RGB | rgb(162, 54, 162) |
| HSL | hsl(300, 50%, 42%) |
| HSV | hsv(300, 67%, 64%) |
| CMYK | cmyk(0%, 66.7%, 0%, 36.5%) |
| CIE-LAB | lab(42.66, 57.57, -36.49) |
| CIE-LCH | lch(42.66, 68.16, 327.63°) |
| OKLab | oklab(53.03% 0.1605 -0.1009) |
| OKLCH | oklch(53.03% 0.19 327.8) |
| XYZ | xyz(22.7407, 12.9299, 35.4734) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.31
Ugly Purple
#A442A0
ΔE00 2.58
Warm Purple
#952E8F
ΔE00 4.11
Purply
#983FB2
ΔE00 4.12
Barney
#AC1DB8
ΔE00 4.27
Barney Purple
#A00498
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A236A2 #36A236
analogous
#6C36A2 #A236A2 #A2366C
triadic
#A236A2 #A2A236 #36A2A2
tetradic
#A236A2 #A26C36 #36A236 #366CA2
square
#A236A2 #A26C36 #36A236 #366CA2
split-complementary
#A236A2 #6CA236 #36A26C
monochromatic
#461746 #742774 #A236A2 #C550C5 #D47ED4
Accessibility & contrast
On white
5.86
#A236A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#A236A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A236A2
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A236A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A236A2 | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#265CA5
Deuteranopia (green-blind)
#516A9F
Tritanopia (blue-blind)
#A74567
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #a236a2; /* rgb */ color: rgb(162, 54, 162); /* oklch */ color: oklch(53.0% 0.190 327.8);
Tailwind
colors: {
custom: {
50: '#c176be',
500: '#a236a2',
950: '#000000',
},
}SCSS
$custom: #a236a2; $custom-light: #c176be; $custom-dark: #000000;
JSON
{
"hex": "#a236a2",
"rgb": {
"r": 162,
"g": 54,
"b": 162
},
"hsl": {
"h": 300,
"s": 50,
"l": 42.353
},
"oklch": {
"l": 0.53034,
"c": 0.18955,
"h": 327.8
},
"luminance": 0.12928
}Semantic roles & 50–950 ramp
primary
#A236A2
secondary
#77BD77
accent
#DA4E4E
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81