#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
RGBrgb(196, 44, 189)
HSLhsl(303, 63%, 47%)
HSVhsv(303, 78%, 77%)
CMYKcmyk(0%, 77.6%, 3.6%, 23.1%)
CIE-LABlab(48.53, 72.75, -42.76)
CIE-LCHlch(48.53, 84.39, 329.55°)
OKLaboklab(58.79% 0.2063 -0.1182)
OKLCHoklch(58.79% 0.238 330.2)
XYZxyz(32.8508, 17.2139, 49.7267)
Luminance0.1721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

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
##C42CBD1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.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

Preview Lab

Preview with #C42CBD

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#C42CBD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva