#C12FAF#C12FAF
#C12FAF is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.8% C 0.224 H 333.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).
Color values
| HEX | #C12FAF |
|---|---|
| RGB | rgb(193, 47, 175) |
| HSL | hsl(307, 61%, 47%) |
| HSV | hsv(307, 76%, 76%) |
| CMYK | cmyk(0%, 75.6%, 9.3%, 24.3%) |
| CIE-LAB | lab(47.58, 69.17, -36.09) |
| CIE-LCH | lch(47.58, 78.02, 332.45°) |
| OKLab | oklab(57.78% 0.2005 -0.099) |
| OKLCH | oklch(57.78% 0.224 333.7) |
| XYZ | xyz(30.7470, 16.4683, 42.1085) |
| Luminance | 0.1647 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.16
Ugly Purple
#A442A0
ΔE00 5.20
Pinky Purple
#C94CBE
ΔE00 5.93
Medium Purple
#9E43A2
ΔE00 6.19
Barney
#AC1DB8
ΔE00 6.22
Purple Pink
#D725DE
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C12FAF #2FC141
analogous
#8A2FC1 #C12FAF #C12F66
triadic
#C12FAF #AFC12F #2FAFC1
tetradic
#C12FAF #C18A2F #2FC141 #2F66C1
square
#C12FAF #C18A2F #2FC141 #2F66C1
split-complementary
#C12FAF #66C12F #2FC18A
monochromatic
#5F1756 #902382 #C12FAF #D657C6 #E288D7
Accessibility & contrast
On white
4.89
#C12FAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#C12FAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C12FAF
4.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C12FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C12FAF | 1.00 | 4.89 | 4.29 | 4.89 |
| #FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A63B2
Deuteranopia (green-blind)
#6278AC
Tritanopia (blue-blind)
#CA3E6D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #c12faf; /* rgb */ color: rgb(193, 47, 175); /* oklch */ color: oklch(57.8% 0.224 333.7);
Tailwind
colors: {
custom: {
50: '#d877c7',
500: '#c12faf',
950: '#000000',
},
}SCSS
$custom: #c12faf; $custom-light: #d877c7; $custom-dark: #000000;
JSON
{
"hex": "#c12faf",
"rgb": {
"r": 193,
"g": 47,
"b": 175
},
"hsl": {
"h": 307.397,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.57778,
"c": 0.22359,
"h": 333.7
},
"luminance": 0.16466
}Semantic roles & 50–950 ramp
primary
#C12FAF
secondary
#80CC89
accent
#E45844
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82