#A12CBD#A12CBD
#A12CBD is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.223 H 318.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A12CBD |
|---|---|
| RGB | rgb(161, 44, 189) |
| HSL | hsl(288, 62%, 46%) |
| HSV | hsv(288, 77%, 74%) |
| CMYK | cmyk(14.8%, 76.7%, 0%, 25.9%) |
| CIE-LAB | lab(42.84, 65.79, -52.17) |
| CIE-LCH | lch(42.84, 83.97, 321.59°) |
| OKLab | oklab(53.65% 0.168 -0.1466) |
| OKLCH | oklch(53.65% 0.223 318.9) |
| XYZ | xyz(24.7827, 13.0538, 49.3485) |
| Luminance | 0.1305 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.38
Darkorchid
#9932CC
ΔE00 3.07
Purply
#983FB2
ΔE00 3.12
Vibrant Purple
#AD03DE
ΔE00 4.67
Darkviolet
#9400D3
ΔE00 5.69
Medium Purple
#9E43A2
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A12CBD #48BD2C
analogous
#582CBD #A12CBD #BD2C90
triadic
#A12CBD #BDA12C #2CBDA1
tetradic
#A12CBD #BD582C #48BD2C #2C90BD
square
#A12CBD #BD582C #48BD2C #2C90BD
split-complementary
#A12CBD #90BD2C #2CBD58
monochromatic
#4C155A #77208B #A12CBD #BC50D6 #CF82E2
Accessibility & contrast
On white
5.82
#A12CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#A12CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A12CBD
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A12CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A12CBD | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#3669BA
Tritanopia (blue-blind)
#A14B74
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #a12cbd; /* rgb */ color: rgb(161, 44, 189); /* oklch */ color: oklch(53.7% 0.223 318.9);
Tailwind
colors: {
custom: {
50: '#c172d2',
500: '#a12cbd',
950: '#000000',
},
}SCSS
$custom: #a12cbd; $custom-light: #c172d2; $custom-dark: #000000;
JSON
{
"hex": "#a12cbd",
"rgb": {
"r": 161,
"g": 44,
"b": 189
},
"hsl": {
"h": 288.414,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.53651,
"c": 0.22294,
"h": 318.9
},
"luminance": 0.13053
}Semantic roles & 50–950 ramp
primary
#A12CBD
secondary
#8ACB7A
accent
#E54262
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82