#C42ABD#C42ABD

#C42ABD is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.7% C 0.239 H 330.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C42ABD
RGBrgb(196, 42, 189)
HSLhsl(303, 65%, 47%)
HSVhsv(303, 79%, 77%)
CMYKcmyk(0%, 78.6%, 3.6%, 23.1%)
CIE-LABlab(48.35, 73.28, -43.05)
CIE-LCHlch(48.35, 84.99, 329.57°)
OKLaboklab(58.66% 0.2078 -0.119)
OKLCHoklch(58.66% 0.239 330.2)
XYZxyz(32.7781, 17.0685, 49.7024)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42ABD #2AC431
analogous
#7E2AC4 #C42ABD #C42A70
triadic
#C42ABD #BDC42A #2ABDC4
tetradic
#C42ABD #C47E2A #2AC431 #2A70C4
square
#C42ABD #C47E2A #2AC431 #2A70C4
split-complementary
#C42ABD #70C42A #2AC47E
monochromatic
#5F145C #921F8C #C42ABD #DA51D4 #E584E0

Accessibility & contrast

On white

4.76
#C42ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C42ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42ABD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42ABD#FFFFFF#000000##FFFFFF
##C42ABD1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D66C1
Deuteranopia (green-blind)
#5C7AB9
Tritanopia (blue-blind)
#CB4174
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c42abd;
/* rgb */ color: rgb(196, 42, 189);
/* oklch */ color: oklch(58.7% 0.239 330.2);
Tailwind
colors: {
  custom: {
    50: '#da76d1',
    500: '#c42abd',
    950: '#000000',
  },
}
SCSS
$custom: #c42abd;
$custom-light: #da76d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c42abd",
  "rgb": {
    "r": 196,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 302.727,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.58658,
    "c": 0.23944,
    "h": 330.2
  },
  "luminance": 0.17066
}

Semantic roles & 50–950 ramp

primary
#C42ABD
secondary
#7CCE80
accent
#E84840
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C42ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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