#A12EA1#A12EA1
#A12EA1 is a mid, vivid purple. Relative luminance 0.121; OKLCH L 52.1% C 0.198 H 328.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A12EA1 |
|---|---|
| RGB | rgb(161, 46, 161) |
| HSL | hsl(300, 56%, 41%) |
| HSV | hsv(300, 71%, 63%) |
| CMYK | cmyk(0%, 71.4%, 0%, 36.9%) |
| CIE-LAB | lab(41.38, 60.15, -37.91) |
| CIE-LCH | lch(41.38, 71.10, 327.78°) |
| OKLab | oklab(52.07% 0.1678 -0.105) |
| OKLCH | oklch(52.07% 0.198 328) |
| XYZ | xyz(22.1077, 12.1058, 34.8836) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.44
Medium Purple
#9E43A2
ΔE00 3.58
Barney
#AC1DB8
ΔE00 3.89
Ugly Purple
#A442A0
ΔE00 3.90
Barney Purple
#A00498
ΔE00 3.95
Purply
#983FB2
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12EA1 #2EA12E
analogous
#672EA1 #A12EA1 #A12E67
triadic
#A12EA1 #A1A12E #2EA1A1
tetradic
#A12EA1 #A1672E #2EA12E #2E67A1
square
#A12EA1 #A1672E #2EA12E #2E67A1
split-complementary
#A12EA1 #67A12E #2EA167
monochromatic
#421342 #712071 #A12EA1 #C943C9 #D773D7
Accessibility & contrast
On white
6.14
#A12EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#A12EA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A12EA1
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12EA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12EA1 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1958A4
Deuteranopia (green-blind)
#4C679E
Tritanopia (blue-blind)
#A63F65
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a12ea1; /* rgb */ color: rgb(161, 46, 161); /* oklch */ color: oklch(52.1% 0.198 328.0);
Tailwind
colors: {
custom: {
50: '#c072bd',
500: '#a12ea1',
950: '#000000',
},
}SCSS
$custom: #a12ea1; $custom-light: #c072bd; $custom-dark: #000000;
JSON
{
"hex": "#a12ea1",
"rgb": {
"r": 161,
"g": 46,
"b": 161
},
"hsl": {
"h": 300,
"s": 55.556,
"l": 40.588
},
"oklch": {
"l": 0.52068,
"c": 0.19792,
"h": 328
},
"luminance": 0.12104
}Semantic roles & 50–950 ramp
primary
#A12EA1
secondary
#6CBE6C
accent
#DF4949
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81