#C42BB7#C42BB7

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

Color values

HEX#C42BB7
RGBrgb(196, 43, 183)
HSLhsl(305, 64%, 47%)
HSVhsv(305, 78%, 77%)
CMYKcmyk(0%, 78.1%, 6.6%, 23.1%)
CIE-LABlab(48.11, 72.12, -39.91)
CIE-LCHlch(48.11, 82.42, 331.04°)
OKLaboklab(58.39% 0.207 -0.1099)
OKLCHoklch(58.39% 0.234 332)
XYZxyz(32.1762, 16.8851, 46.3551)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42BB7 #2BC438
analogous
#852BC4 #C42BB7 #C42B6B
triadic
#C42BB7 #B7C42B #2BB7C4
tetradic
#C42BB7 #C4852B #2BC438 #2B6BC4
square
#C42BB7 #C4852B #2BC438 #2B6BC4
split-complementary
#C42BB7 #6BC42B #2BC485
monochromatic
#601559 #922088 #C42BB7 #D953CE #E485DC

Accessibility & contrast

On white

4.80
#C42BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C42BB7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42BB7#FFFFFF#000000##FFFFFF
##C42BB71.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D65BB
Deuteranopia (green-blind)
#5F7AB3
Tritanopia (blue-blind)
#CC3F70
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c42bb7;
/* rgb */ color: rgb(196, 43, 183);
/* oklch */ color: oklch(58.4% 0.234 332.0);
Tailwind
colors: {
  custom: {
    50: '#da77cd',
    500: '#c42bb7',
    950: '#000000',
  },
}
SCSS
$custom: #c42bb7;
$custom-light: #da77cd;
$custom-dark: #000000;
JSON
{
  "hex": "#c42bb7",
  "rgb": {
    "r": 196,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 305.098,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.58389,
    "c": 0.23437,
    "h": 332
  },
  "luminance": 0.16882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C42BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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