#C42CC9#C42CC9

#C42CC9 is a mid, highly saturated purple. Relative luminance 0.178; OKLCH L 59.5% C 0.246 H 326.7°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C42CC9
RGBrgb(196, 44, 201)
HSLhsl(298, 64%, 48%)
HSVhsv(298, 78%, 79%)
CMYKcmyk(2.5%, 78.1%, 0%, 21.2%)
CIE-LABlab(49.20, 74.62, -48.66)
CIE-LCHlch(49.20, 89.09, 326.90°)
OKLaboklab(59.48% 0.2059 -0.1353)
OKLCHoklch(59.48% 0.246 326.7)
XYZxyz(34.2077, 17.7566, 56.8727)
Luminance0.1775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42CC9 #31C92C
analogous
#752CC9 #C42CC9 #C92C7F
triadic
#C42CC9 #C9C42C #2CC9C4
tetradic
#C42CC9 #C9752C #31C92C #2C7FC9
square
#C42CC9 #C9752C #31C92C #2C7FC9
split-complementary
#C42CC9 #7FC92C #2CC975
monochromatic
#621665 #932197 #C42CC9 #D658DA #E28AE5

Accessibility & contrast

On white

4.61
#C42CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#C42CC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C42CC9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42CC9#FFFFFF#000000##FFFFFF
##C42CC91.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CD
Deuteranopia (green-blind)
#557BC5
Tritanopia (blue-blind)
#C9497B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c42cc9;
/* rgb */ color: rgb(196, 44, 201);
/* oklch */ color: oklch(59.5% 0.246 326.7);
Tailwind
colors: {
  custom: {
    50: '#da78da',
    500: '#c42cc9',
    950: '#000000',
  },
}
SCSS
$custom: #c42cc9;
$custom-light: #da78da;
$custom-dark: #000000;
JSON
{
  "hex": "#c42cc9",
  "rgb": {
    "r": 196,
    "g": 44,
    "b": 201
  },
  "hsl": {
    "h": 298.089,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.59481,
    "c": 0.24638,
    "h": 326.7
  },
  "luminance": 0.17754
}

Semantic roles & 50–950 ramp

primary
#C42CC9
secondary
#84CF82
accent
#E74146
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #C42CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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