#C42CBD#C42CBD
#C42CBD is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.8% C 0.238 H 330.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #C42CBD |
|---|---|
| RGB | rgb(196, 44, 189) |
| HSL | hsl(303, 63%, 47%) |
| HSV | hsv(303, 78%, 77%) |
| CMYK | cmyk(0%, 77.6%, 3.6%, 23.1%) |
| CIE-LAB | lab(48.53, 72.75, -42.76) |
| CIE-LCH | lch(48.53, 84.39, 329.55°) |
| OKLab | oklab(58.79% 0.2063 -0.1182) |
| OKLCH | oklch(58.79% 0.238 330.2) |
| XYZ | xyz(32.8508, 17.2139, 49.7267) |
| Luminance | 0.1721 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.86
Pinky Purple
#C94CBE
ΔE00 5.45
Purple Pink
#D725DE
ΔE00 5.59
Barney
#AC1DB8
ΔE00 5.90
Ugly Purple
#A442A0
ΔE00 6.49
Medium Purple
#9E43A2
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C42CBD #2CC433
analogous
#7F2CC4 #C42CBD #C42C71
triadic
#C42CBD #BDC42C #2CBDC4
tetradic
#C42CBD #C47F2C #2CC433 #2C71C4
square
#C42CBD #C47F2C #2CC433 #2C71C4
split-complementary
#C42CBD #71C42C #2CC47F
monochromatic
#60165D #92218D #C42CBD #D954D3 #E486E0
Accessibility & contrast
On white
4.73
#C42CBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#C42CBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C42CBD
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C42CBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C42CBD | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1366C1
Deuteranopia (green-blind)
#5D7AB9
Tritanopia (blue-blind)
#CB4274
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #c42cbd; /* rgb */ color: rgb(196, 44, 189); /* oklch */ color: oklch(58.8% 0.238 330.2);
Tailwind
colors: {
custom: {
50: '#da77d1',
500: '#c42cbd',
950: '#000000',
},
}SCSS
$custom: #c42cbd; $custom-light: #da77d1; $custom-dark: #000000;
JSON
{
"hex": "#c42cbd",
"rgb": {
"r": 196,
"g": 44,
"b": 189
},
"hsl": {
"h": 302.763,
"s": 63.333,
"l": 47.059
},
"oklch": {
"l": 0.58787,
"c": 0.23771,
"h": 330.2
},
"luminance": 0.17211
}Semantic roles & 50–950 ramp
primary
#C42CBD
secondary
#7ECD82
accent
#E64941
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82