#C42AC9#C42AC9

#C42AC9 is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 59.4% C 0.248 H 326.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#C42AC9
RGBrgb(196, 42, 201)
HSLhsl(298, 65%, 48%)
HSVhsv(298, 79%, 79%)
CMYKcmyk(2.5%, 79.1%, 0%, 21.2%)
CIE-LABlab(49.02, 75.14, -48.94)
CIE-LCHlch(49.02, 89.67, 326.92°)
OKLaboklab(59.35% 0.2074 -0.1361)
OKLCHoklch(59.35% 0.248 326.7)
XYZxyz(34.1349, 17.6112, 56.8484)
Luminance0.1761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42AC9 #2FC92A
analogous
#742AC9 #C42AC9 #C92A7F
triadic
#C42AC9 #C9C42A #2AC9C4
tetradic
#C42AC9 #C9742A #2FC92A #2A7FC9
square
#C42AC9 #C9742A #2FC92A #2A7FC9
split-complementary
#C42AC9 #7FC92A #2AC974
monochromatic
#611564 #931F96 #C42AC9 #D755DB #E387E6

Accessibility & contrast

On white

4.64
#C42AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C42AC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C42AC9
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42AC9#FFFFFF#000000##FFFFFF
##C42AC91.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CD
Deuteranopia (green-blind)
#547BC5
Tritanopia (blue-blind)
#C9487A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c42ac9;
/* rgb */ color: rgb(196, 42, 201);
/* oklch */ color: oklch(59.4% 0.248 326.7);
Tailwind
colors: {
  custom: {
    50: '#da77da',
    500: '#c42ac9',
    950: '#000000',
  },
}
SCSS
$custom: #c42ac9;
$custom-light: #da77da;
$custom-dark: #000000;
JSON
{
  "hex": "#c42ac9",
  "rgb": {
    "r": 196,
    "g": 42,
    "b": 201
  },
  "hsl": {
    "h": 298.113,
    "s": 65.432,
    "l": 47.647
  },
  "oklch": {
    "l": 0.59354,
    "c": 0.24804,
    "h": 326.7
  },
  "luminance": 0.17609
}

Semantic roles & 50–950 ramp

primary
#C42AC9
secondary
#82D07F
accent
#E83F45
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #C42AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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