#C12AAF#C12AAF
#C12AAF is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.228 H 333.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #C12AAF |
|---|---|
| RGB | rgb(193, 42, 175) |
| HSL | hsl(307, 64%, 46%) |
| HSV | hsv(307, 78%, 76%) |
| CMYK | cmyk(0%, 78.2%, 9.3%, 24.3%) |
| CIE-LAB | lab(47.09, 70.58, -36.86) |
| CIE-LCH | lch(47.09, 79.62, 332.42°) |
| OKLab | oklab(57.43% 0.2046 -0.1011) |
| OKLCH | oklch(57.43% 0.228 333.7) |
| XYZ | xyz(30.5584, 16.0912, 42.0456) |
| Luminance | 0.1609 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.66
Ugly Purple
#A442A0
ΔE00 5.25
Barney
#AC1DB8
ΔE00 5.80
Medium Purple
#9E43A2
ΔE00 6.19
Pinky Purple
#C94CBE
ΔE00 6.49
Purply
#983FB2
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12AAF #2AC13C
analogous
#872AC1 #C12AAF #C12A63
triadic
#C12AAF #AFC12A #2AAFC1
tetradic
#C12AAF #C1872A #2AC13C #2A63C1
square
#C12AAF #C1872A #2AC13C #2A63C1
split-complementary
#C12AAF #63C12A #2AC187
monochromatic
#5C1454 #8F1F81 #C12AAF #D94FC8 #E482D8
Accessibility & contrast
On white
4.98
#C12AAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#C12AAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12AAF
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12AAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12AAF | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2462B2
Deuteranopia (green-blind)
#6077AC
Tritanopia (blue-blind)
#CA3A6C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #c12aaf; /* rgb */ color: rgb(193, 42, 175); /* oklch */ color: oklch(57.4% 0.228 333.7);
Tailwind
colors: {
custom: {
50: '#d875c7',
500: '#c12aaf',
950: '#000000',
},
}SCSS
$custom: #c12aaf; $custom-light: #d875c7; $custom-dark: #000000;
JSON
{
"hex": "#c12aaf",
"rgb": {
"r": 193,
"g": 42,
"b": 175
},
"hsl": {
"h": 307.152,
"s": 64.255,
"l": 46.078
},
"oklch": {
"l": 0.57428,
"c": 0.22826,
"h": 333.7
},
"luminance": 0.16089
}Semantic roles & 50–950 ramp
primary
#C12AAF
secondary
#7ACD84
accent
#E75441
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82