#A237AF#A237AF
#A237AF is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.9% C 0.199 H 323.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A237AF |
|---|---|
| RGB | rgb(162, 55, 175) |
| HSL | hsl(294, 52%, 45%) |
| HSV | hsv(294, 69%, 69%) |
| CMYK | cmyk(7.4%, 68.6%, 0%, 31.4%) |
| CIE-LAB | lab(43.52, 59.48, -42.84) |
| CIE-LCH | lch(43.52, 73.30, 324.24°) |
| OKLab | oklab(53.89% 0.1596 -0.1194) |
| OKLCH | oklch(53.89% 0.199 323.2) |
| XYZ | xyz(24.0036, 13.5103, 41.8925) |
| Luminance | 0.1351 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.28
Barney
#AC1DB8
ΔE00 2.94
Medium Purple
#9E43A2
ΔE00 3.18
Ugly Purple
#A442A0
ΔE00 3.92
Darkorchid
#9932CC
ΔE00 5.55
Warm Purple
#952E8F
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A237AF #44AF37
analogous
#6637AF #A237AF #AF3780
triadic
#A237AF #AFA237 #37AFA2
tetradic
#A237AF #AF6637 #44AF37 #3780AF
square
#A237AF #AF6637 #44AF37 #3780AF
split-complementary
#A237AF #80AF37 #37AF66
monochromatic
#4C1A52 #772880 #A237AF #BE59CB #D087D9
Accessibility & contrast
On white
5.67
#A237AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#A237AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A237AF
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A237AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A237AF | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#155FB2
Deuteranopia (green-blind)
#4A6BAC
Tritanopia (blue-blind)
#A54B6F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #a237af; /* rgb */ color: rgb(162, 55, 175); /* oklch */ color: oklch(53.9% 0.199 323.2);
Tailwind
colors: {
custom: {
50: '#c177c7',
500: '#a237af',
950: '#000000',
},
}SCSS
$custom: #a237af; $custom-light: #c177c7; $custom-dark: #000000;
JSON
{
"hex": "#a237af",
"rgb": {
"r": 162,
"g": 55,
"b": 175
},
"hsl": {
"h": 293.5,
"s": 52.174,
"l": 45.098
},
"oklch": {
"l": 0.5389,
"c": 0.19926,
"h": 323.2
},
"luminance": 0.13509
}Semantic roles & 50–950 ramp
primary
#A237AF
secondary
#86C37F
accent
#DC4C5C
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82