#C42BB9#C42BB9

#C42BB9 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.5% C 0.236 H 331.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C42BB9
RGBrgb(196, 43, 185)
HSLhsl(304, 64%, 47%)
HSVhsv(304, 78%, 77%)
CMYKcmyk(0%, 78.1%, 5.6%, 23.1%)
CIE-LABlab(48.22, 72.41, -40.92)
CIE-LCHlch(48.22, 83.17, 330.53°)
OKLaboklab(58.5% 0.207 -0.1128)
OKLCHoklch(58.5% 0.236 331.4)
XYZxyz(32.3858, 16.9690, 47.4592)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42BB9 #2BC436
analogous
#832BC4 #C42BB9 #C42B6C
triadic
#C42BB9 #B9C42B #2BB9C4
tetradic
#C42BB9 #C4832B #2BC436 #2B6CC4
square
#C42BB9 #C4832B #2BC436 #2B6CC4
split-complementary
#C42BB9 #6CC42B #2BC483
monochromatic
#60155A #92208A #C42BB9 #D953D0 #E485DD

Accessibility & contrast

On white

4.78
#C42BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C42BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42BB9
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42BB9#FFFFFF#000000##FFFFFF
##C42BB91.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A65BD
Deuteranopia (green-blind)
#5E7AB5
Tritanopia (blue-blind)
#CC4072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c42bb9;
/* rgb */ color: rgb(196, 43, 185);
/* oklch */ color: oklch(58.5% 0.236 331.4);
Tailwind
colors: {
  custom: {
    50: '#da77ce',
    500: '#c42bb9',
    950: '#000000',
  },
}
SCSS
$custom: #c42bb9;
$custom-light: #da77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c42bb9",
  "rgb": {
    "r": 196,
    "g": 43,
    "b": 185
  },
  "hsl": {
    "h": 304.314,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58499,
    "c": 0.23576,
    "h": 331.4
  },
  "luminance": 0.16966
}

Semantic roles & 50–950 ramp

primary
#C42BB9
secondary
#7DCE83
accent
#E74D41
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C42BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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