#A12E97#A12E97
#A12E97 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.5% C 0.190 H 331.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A12E97 |
|---|---|
| RGB | rgb(161, 46, 151) |
| HSL | hsl(305, 56%, 41%) |
| HSV | hsv(305, 71%, 63%) |
| CMYK | cmyk(0%, 71.4%, 6.2%, 36.9%) |
| CIE-LAB | lab(40.84, 58.50, -32.75) |
| CIE-LCH | lch(40.84, 67.04, 330.76°) |
| OKLab | oklab(51.51% 0.1674 -0.09) |
| OKLCH | oklch(51.51% 0.19 331.7) |
| XYZ | xyz(21.2609, 11.7671, 30.4237) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.43
Barney Purple
#A00498
ΔE00 3.85
Ugly Purple
#A442A0
ΔE00 3.94
Medium Purple
#9E43A2
ΔE00 4.07
Barney
#AC1DB8
ΔE00 5.59
Purply
#983FB2
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12E97 #2EA138
analogous
#712EA1 #A12E97 #A12E5E
triadic
#A12E97 #97A12E #2E97A1
tetradic
#A12E97 #A1712E #2EA138 #2E5EA1
square
#A12E97 #A1712E #2EA138 #2E5EA1
split-complementary
#A12E97 #5EA12E #2EA171
monochromatic
#42133E #71206A #A12E97 #C943BE #D773CE
Accessibility & contrast
On white
6.26
#A12E97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#A12E97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A12E97
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12E97 | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26569A
Deuteranopia (green-blind)
#526694
Tritanopia (blue-blind)
#A83B5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #a12e97; /* rgb */ color: rgb(161, 46, 151); /* oklch */ color: oklch(51.5% 0.190 331.7);
Tailwind
colors: {
custom: {
50: '#c072b6',
500: '#a12e97',
950: '#000000',
},
}SCSS
$custom: #a12e97; $custom-light: #c072b6; $custom-dark: #000000;
JSON
{
"hex": "#a12e97",
"rgb": {
"r": 161,
"g": 46,
"b": 151
},
"hsl": {
"h": 305.217,
"s": 55.556,
"l": 40.588
},
"oklch": {
"l": 0.51505,
"c": 0.19011,
"h": 331.7
},
"luminance": 0.11765
}Semantic roles & 50–950 ramp
primary
#A12E97
secondary
#6CBE73
accent
#DF5649
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80