#C42BB8#C42BB8

#C42BB8 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.4% C 0.235 H 331.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C42BB8
RGBrgb(196, 43, 184)
HSLhsl(305, 64%, 47%)
HSVhsv(305, 78%, 77%)
CMYKcmyk(0%, 78.1%, 6.1%, 23.1%)
CIE-LABlab(48.17, 72.26, -40.41)
CIE-LCHlch(48.17, 82.80, 330.78°)
OKLaboklab(58.44% 0.207 -0.1114)
OKLCHoklch(58.44% 0.235 331.7)
XYZxyz(32.2806, 16.9269, 46.9052)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42BB8 #2BC437
analogous
#842BC4 #C42BB8 #C42B6C
triadic
#C42BB8 #B8C42B #2BB8C4
tetradic
#C42BB8 #C4842B #2BC437 #2B6CC4
square
#C42BB8 #C4842B #2BC437 #2B6CC4
split-complementary
#C42BB8 #6CC42B #2BC484
monochromatic
#60155A #922089 #C42BB8 #D953CF #E485DD

Accessibility & contrast

On white

4.79
#C42BB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C42BB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42BB8
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42BB8#FFFFFF#000000##FFFFFF
##C42BB81.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C65BC
Deuteranopia (green-blind)
#5F7AB4
Tritanopia (blue-blind)
#CC3F71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c42bb8;
/* rgb */ color: rgb(196, 43, 184);
/* oklch */ color: oklch(58.4% 0.235 331.7);
Tailwind
colors: {
  custom: {
    50: '#da77ce',
    500: '#c42bb8',
    950: '#000000',
  },
}
SCSS
$custom: #c42bb8;
$custom-light: #da77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c42bb8",
  "rgb": {
    "r": 196,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 304.706,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58444,
    "c": 0.23506,
    "h": 331.7
  },
  "luminance": 0.16924
}

Semantic roles & 50–950 ramp

primary
#C42BB8
secondary
#7DCE84
accent
#E74E41
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C42BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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