#A0218F#A0218F
#A0218F is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.9% C 0.197 H 334.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A0218F |
|---|---|
| RGB | rgb(160, 33, 143) |
| HSL | hsl(308, 66%, 38%) |
| HSV | hsv(308, 79%, 63%) |
| CMYK | cmyk(0%, 79.4%, 10.6%, 37.3%) |
| CIE-LAB | lab(38.81, 61.16, -31.10) |
| CIE-LCH | lch(38.81, 68.61, 333.05°) |
| OKLab | oklab(49.87% 0.1781 -0.0852) |
| OKLCH | oklch(49.87% 0.197 334.4) |
| XYZ | xyz(19.9992, 10.5463, 26.9636) |
| Luminance | 0.1054 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.26
Barney Purple
#A00498
ΔE00 2.83
Darkmagenta
#8B008B
ΔE00 5.86
Ugly Purple
#A442A0
ΔE00 6.02
Medium Purple
#9E43A2
ΔE00 6.19
Barney
#AC1DB8
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A0218F #21A032
analogous
#7121A0 #A0218F #A02150
triadic
#A0218F #8FA021 #218FA0
tetradic
#A0218F #A07121 #21A032 #2150A0
square
#A0218F #A07121 #21A032 #2150A0
split-complementary
#A0218F #50A021 #21A071
monochromatic
#3B0C34 #6D1762 #A0218F #D32BBC #DE5ECD
Accessibility & contrast
On white
6.76
#A0218F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#A0218F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A0218F
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A0218F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A0218F | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E5092
Deuteranopia (green-blind)
#50628C
Tritanopia (blue-blind)
#A82E57
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #a0218f; /* rgb */ color: rgb(160, 33, 143); /* oklch */ color: oklch(49.9% 0.197 334.4);
Tailwind
colors: {
custom: {
50: '#c06cb0',
500: '#a0218f',
950: '#000000',
},
}SCSS
$custom: #a0218f; $custom-light: #c06cb0; $custom-dark: #000000;
JSON
{
"hex": "#a0218f",
"rgb": {
"r": 160,
"g": 33,
"b": 143
},
"hsl": {
"h": 308.031,
"s": 65.803,
"l": 37.843
},
"oklch": {
"l": 0.49872,
"c": 0.1974,
"h": 334.4
},
"luminance": 0.10544
}Semantic roles & 50–950 ramp
primary
#A0218F
secondary
#5BC268
accent
#E9563F
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F