#A12EA2#A12EA2
#A12EA2 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.1% C 0.199 H 327.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A12EA2 |
|---|---|
| RGB | rgb(161, 46, 162) |
| HSL | hsl(299, 56%, 41%) |
| HSV | hsv(299, 72%, 64%) |
| CMYK | cmyk(0.6%, 71.6%, 0%, 36.5%) |
| CIE-LAB | lab(41.44, 60.32, -38.42) |
| CIE-LCH | lch(41.44, 71.52, 327.50°) |
| OKLab | oklab(52.13% 0.1678 -0.1065) |
| OKLCH | oklch(52.13% 0.199 327.6) |
| XYZ | xyz(22.1962, 12.1413, 35.3498) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.58
Warm Purple
#952E8F
ΔE00 3.58
Barney
#AC1DB8
ΔE00 3.73
Ugly Purple
#A442A0
ΔE00 3.94
Barney Purple
#A00498
ΔE00 4.01
Purply
#983FB2
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12EA2 #2FA22E
analogous
#672EA2 #A12EA2 #A22E69
triadic
#A12EA2 #A2A12E #2EA2A1
tetradic
#A12EA2 #A2672E #2FA22E #2E69A2
square
#A12EA2 #A2672E #2FA22E #2E69A2
split-complementary
#A12EA2 #69A22E #2EA267
monochromatic
#421343 #722072 #A12EA2 #C943CA #D673D7
Accessibility & contrast
On white
6.13
#A12EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#A12EA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A12EA2
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12EA2 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1858A5
Deuteranopia (green-blind)
#4C679F
Tritanopia (blue-blind)
#A64065
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a12ea2; /* rgb */ color: rgb(161, 46, 162); /* oklch */ color: oklch(52.1% 0.199 327.6);
Tailwind
colors: {
custom: {
50: '#c072be',
500: '#a12ea2',
950: '#000000',
},
}SCSS
$custom: #a12ea2; $custom-light: #c072be; $custom-dark: #000000;
JSON
{
"hex": "#a12ea2",
"rgb": {
"r": 161,
"g": 46,
"b": 162
},
"hsl": {
"h": 299.483,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.52126,
"c": 0.19872,
"h": 327.6
},
"luminance": 0.1214
}Semantic roles & 50–950 ramp
primary
#A12EA2
secondary
#6EBF6D
accent
#DF494A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81