#A12F99#A12F99
#A12F99 is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.190 H 331.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A12F99 |
|---|---|
| RGB | rgb(161, 47, 153) |
| HSL | hsl(304, 55%, 41%) |
| HSV | hsv(304, 71%, 63%) |
| CMYK | cmyk(0%, 70.8%, 5%, 36.9%) |
| CIE-LAB | lab(41.08, 58.47, -33.59) |
| CIE-LCH | lch(41.08, 67.43, 330.12°) |
| OKLab | oklab(51.71% 0.1665 -0.0925) |
| OKLCH | oklch(51.71% 0.19 331) |
| XYZ | xyz(21.4642, 11.9117, 31.2995) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.60
Ugly Purple
#A442A0
ΔE00 3.71
Medium Purple
#9E43A2
ΔE00 3.77
Barney Purple
#A00498
ΔE00 3.94
Barney
#AC1DB8
ΔE00 5.28
Purply
#983FB2
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12F99 #2FA137
analogous
#702FA1 #A12F99 #A12F60
triadic
#A12F99 #99A12F #2F99A1
tetradic
#A12F99 #A1702F #2FA137 #2F60A1
square
#A12F99 #A1702F #2FA137 #2F60A1
split-complementary
#A12F99 #60A12F #2FA170
monochromatic
#42133F #72216C #A12F99 #C945BF #D674D0
Accessibility & contrast
On white
6.21
#A12F99 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#A12F99 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A12F99
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12F99 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#25579C
Deuteranopia (green-blind)
#516696
Tritanopia (blue-blind)
#A73C60
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #a12f99; /* rgb */ color: rgb(161, 47, 153); /* oklch */ color: oklch(51.7% 0.190 331.0);
Tailwind
colors: {
custom: {
50: '#c072b7',
500: '#a12f99',
950: '#000000',
},
}SCSS
$custom: #a12f99; $custom-light: #c072b7; $custom-dark: #000000;
JSON
{
"hex": "#a12f99",
"rgb": {
"r": 161,
"g": 47,
"b": 153
},
"hsl": {
"h": 304.211,
"s": 54.808,
"l": 40.784
},
"oklch": {
"l": 0.51706,
"c": 0.19047,
"h": 331
},
"luminance": 0.1191
}Semantic roles & 50–950 ramp
primary
#A12F99
secondary
#6EBE73
accent
#DE544A
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80