#A236B2#A236B2
#A236B2 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.0% C 0.203 H 322.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A236B2 |
|---|---|
| RGB | rgb(162, 54, 178) |
| HSL | hsl(292, 53%, 45%) |
| HSV | hsv(292, 70%, 70%) |
| CMYK | cmyk(9%, 69.7%, 0%, 30.2%) |
| CIE-LAB | lab(43.56, 60.42, -44.55) |
| CIE-LCH | lch(43.56, 75.07, 323.60°) |
| OKLab | oklab(53.97% 0.1606 -0.1243) |
| OKLCH | oklch(53.97% 0.203 322.2) |
| XYZ | xyz(24.2545, 13.5354, 43.4459) |
| Luminance | 0.1353 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.11
Barney
#AC1DB8
ΔE00 2.68
Medium Purple
#9E43A2
ΔE00 3.68
Ugly Purple
#A442A0
ΔE00 4.44
Darkorchid
#9932CC
ΔE00 5.02
Warm Purple
#952E8F
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A236B2 #46B236
analogous
#6436B2 #A236B2 #B23684
triadic
#A236B2 #B2A236 #36B2A2
tetradic
#A236B2 #B26436 #46B236 #3684B2
square
#A236B2 #B26436 #46B236 #3684B2
split-complementary
#A236B2 #84B236 #36B264
monochromatic
#4D1A54 #772883 #A236B2 #BE59CD #D088DB
Accessibility & contrast
On white
5.67
#A236B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#A236B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A236B2
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A236B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A236B2 | 1.00 | 5.67 | 3.71 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#095FB6
Deuteranopia (green-blind)
#476BAF
Tritanopia (blue-blind)
#A44C70
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #a236b2; /* rgb */ color: rgb(162, 54, 178); /* oklch */ color: oklch(54.0% 0.203 322.2);
Tailwind
colors: {
custom: {
50: '#c177c9',
500: '#a236b2',
950: '#000000',
},
}SCSS
$custom: #a236b2; $custom-light: #c177c9; $custom-dark: #000000;
JSON
{
"hex": "#a236b2",
"rgb": {
"r": 162,
"g": 54,
"b": 178
},
"hsl": {
"h": 292.258,
"s": 53.448,
"l": 45.49
},
"oklch": {
"l": 0.53973,
"c": 0.20307,
"h": 322.2
},
"luminance": 0.13534
}Semantic roles & 50–950 ramp
primary
#A236B2
secondary
#88C57F
accent
#DD4B5E
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82