#A12EA3#A12EA3
#A12EA3 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.200 H 327.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A12EA3 |
|---|---|
| RGB | rgb(161, 46, 163) |
| HSL | hsl(299, 56%, 41%) |
| HSV | hsv(299, 72%, 64%) |
| CMYK | cmyk(1.2%, 71.8%, 0%, 36.1%) |
| CIE-LAB | lab(41.50, 60.49, -38.93) |
| CIE-LCH | lch(41.50, 71.94, 327.23°) |
| OKLab | oklab(52.19% 0.1678 -0.1079) |
| OKLCH | oklch(52.19% 0.2 327.2) |
| XYZ | xyz(22.2855, 12.1770, 35.8198) |
| Luminance | 0.1217 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 3.58
Medium Purple
#9E43A2
ΔE00 3.59
Warm Purple
#952E8F
ΔE00 3.73
Ugly Purple
#A442A0
ΔE00 3.99
Barney Purple
#A00498
ΔE00 4.07
Purply
#983FB2
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12EA3 #30A32E
analogous
#662EA3 #A12EA3 #A32E6A
triadic
#A12EA3 #A3A12E #2EA3A1
tetradic
#A12EA3 #A3662E #30A32E #2E6AA3
square
#A12EA3 #A3662E #30A32E #2E6AA3
split-complementary
#A12EA3 #6AA32E #2EA366
monochromatic
#431344 #722173 #A12EA3 #C844CA #D674D8
Accessibility & contrast
On white
6.11
#A12EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#A12EA3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A12EA3
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12EA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12EA3 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1658A6
Deuteranopia (green-blind)
#4B67A0
Tritanopia (blue-blind)
#A64066
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a12ea3; /* rgb */ color: rgb(161, 46, 163); /* oklch */ color: oklch(52.2% 0.200 327.2);
Tailwind
colors: {
custom: {
50: '#c072bf',
500: '#a12ea3',
950: '#000000',
},
}SCSS
$custom: #a12ea3; $custom-light: #c072bf; $custom-dark: #000000;
JSON
{
"hex": "#a12ea3",
"rgb": {
"r": 161,
"g": 46,
"b": 163
},
"hsl": {
"h": 298.974,
"s": 55.981,
"l": 40.98
},
"oklch": {
"l": 0.52185,
"c": 0.19952,
"h": 327.2
},
"luminance": 0.12175
}Semantic roles & 50–950 ramp
primary
#A12EA3
secondary
#6FBF6D
accent
#DF494B
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81