#C42CC7#C42CC7

#C42CC7 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.4% C 0.245 H 327.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C42CC7
RGBrgb(196, 44, 199)
HSLhsl(299, 64%, 48%)
HSVhsv(299, 78%, 78%)
CMYKcmyk(1.5%, 77.9%, 0%, 22%)
CIE-LABlab(49.08, 74.31, -47.68)
CIE-LCHlch(49.08, 88.29, 327.31°)
OKLaboklab(59.36% 0.206 -0.1325)
OKLCHoklch(59.36% 0.245 327.3)
XYZxyz(33.9739, 17.6631, 55.6417)
Luminance0.1766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42CC7 #2FC72C
analogous
#772CC7 #C42CC7 #C72C7C
triadic
#C42CC7 #C7C42C #2CC7C4
tetradic
#C42CC7 #C7772C #2FC72C #2C7CC7
square
#C42CC7 #C7772C #2FC72C #2C7CC7
split-complementary
#C42CC7 #7CC72C #2CC777
monochromatic
#611663 #932195 #C42CC7 #D756DA #E389E5

Accessibility & contrast

On white

4.63
#C42CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#C42CC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C42CC7
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42CC7#FFFFFF#000000##FFFFFF
##C42CC71.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CB
Deuteranopia (green-blind)
#577BC3
Tritanopia (blue-blind)
#CA487A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c42cc7;
/* rgb */ color: rgb(196, 44, 199);
/* oklch */ color: oklch(59.4% 0.245 327.3);
Tailwind
colors: {
  custom: {
    50: '#da78d8',
    500: '#c42cc7',
    950: '#000000',
  },
}
SCSS
$custom: #c42cc7;
$custom-light: #da78d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c42cc7",
  "rgb": {
    "r": 196,
    "g": 44,
    "b": 199
  },
  "hsl": {
    "h": 298.839,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.59363,
    "c": 0.24492,
    "h": 327.3
  },
  "luminance": 0.17661
}

Semantic roles & 50–950 ramp

primary
#C42CC7
secondary
#82CF80
accent
#E74144
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A15
muted
#837C83

Preview Lab

Preview with #C42CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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