#A237A5#A237A5
#A237A5 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.3% C 0.191 H 326.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #A237A5 |
|---|---|
| RGB | rgb(162, 55, 165) |
| HSL | hsl(298, 50%, 43%) |
| HSV | hsv(298, 67%, 65%) |
| CMYK | cmyk(1.8%, 66.7%, 0%, 35.3%) |
| CIE-LAB | lab(42.96, 57.69, -37.79) |
| CIE-LCH | lch(42.96, 68.97, 326.77°) |
| OKLab | oklab(53.31% 0.1595 -0.1047) |
| OKLCH | oklch(53.31% 0.191 326.7) |
| XYZ | xyz(23.0576, 13.1319, 36.9103) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.22
Ugly Purple
#A442A0
ΔE00 2.67
Purply
#983FB2
ΔE00 3.61
Barney
#AC1DB8
ΔE00 3.94
Warm Purple
#952E8F
ΔE00 4.56
Barney Purple
#A00498
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A237A5 #3AA537
analogous
#6B37A5 #A237A5 #A53771
triadic
#A237A5 #A5A237 #37A5A2
tetradic
#A237A5 #A56B37 #3AA537 #3771A5
square
#A237A5 #A56B37 #3AA537 #3771A5
split-complementary
#A237A5 #71A537 #37A56B
monochromatic
#481849 #752877 #A237A5 #C353C6 #D381D5
Accessibility & contrast
On white
5.79
#A237A5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#A237A5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A237A5
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A237A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A237A5 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#255DA8
Deuteranopia (green-blind)
#506AA2
Tritanopia (blue-blind)
#A64769
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #a237a5; /* rgb */ color: rgb(162, 55, 165); /* oklch */ color: oklch(53.3% 0.191 326.7);
Tailwind
colors: {
custom: {
50: '#c177c0',
500: '#a237a5',
950: '#000000',
},
}SCSS
$custom: #a237a5; $custom-light: #c177c0; $custom-dark: #000000;
JSON
{
"hex": "#a237a5",
"rgb": {
"r": 162,
"g": 55,
"b": 165
},
"hsl": {
"h": 298.364,
"s": 50,
"l": 43.137
},
"oklch": {
"l": 0.53305,
"c": 0.19076,
"h": 326.7
},
"luminance": 0.1313
}Semantic roles & 50–950 ramp
primary
#A237A5
secondary
#7BBF79
accent
#DA4E52
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#130912
muted
#827B81