#A12FAF#A12FAF
#A12FAF is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.208 H 323.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A12FAF |
|---|---|
| RGB | rgb(161, 47, 175) |
| HSL | hsl(293, 58%, 44%) |
| HSV | hsv(293, 73%, 69%) |
| CMYK | cmyk(8%, 73.1%, 0%, 31.4%) |
| CIE-LAB | lab(42.32, 62.23, -44.77) |
| CIE-LCH | lch(42.32, 76.66, 324.27°) |
| OKLab | oklab(53% 0.1665 -0.125) |
| OKLCH | oklch(53% 0.208 323.1) |
| XYZ | xyz(23.4516, 12.7066, 41.7665) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.22
Purply
#983FB2
ΔE00 2.81
Medium Purple
#9E43A2
ΔE00 4.19
Ugly Purple
#A442A0
ΔE00 4.91
Darkorchid
#9932CC
ΔE00 5.26
Barney Purple
#A00498
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12FAF #3DAF2F
analogous
#612FAF #A12FAF #AF2F7D
triadic
#A12FAF #AFA12F #2FAFA1
tetradic
#A12FAF #AF612F #3DAF2F #2F7DAF
square
#A12FAF #AF612F #3DAF2F #2F7DAF
split-complementary
#A12FAF #7DAF2F #2FAF61
monochromatic
#48154F #75227F #A12FAF #C14CCF #D17CDC
Accessibility & contrast
On white
5.93
#A12FAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#A12FAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A12FAF
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12FAF | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#4468AC
Tritanopia (blue-blind)
#A3466D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #a12faf; /* rgb */ color: rgb(161, 47, 175); /* oklch */ color: oklch(53.0% 0.208 323.1);
Tailwind
colors: {
custom: {
50: '#c173c7',
500: '#a12faf',
950: '#000000',
},
}SCSS
$custom: #a12faf; $custom-light: #c173c7; $custom-dark: #000000;
JSON
{
"hex": "#a12faf",
"rgb": {
"r": 161,
"g": 47,
"b": 175
},
"hsl": {
"h": 293.438,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.52997,
"c": 0.20818,
"h": 323.1
},
"luminance": 0.12705
}Semantic roles & 50–950 ramp
primary
#A12FAF
secondary
#7EC475
accent
#E14758
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82