#C42ABB#C42ABB

#C42ABB is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.5% C 0.238 H 330.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C42ABB
RGBrgb(196, 42, 187)
HSLhsl(304, 65%, 47%)
HSVhsv(304, 79%, 77%)
CMYKcmyk(0%, 78.6%, 4.6%, 23.1%)
CIE-LABlab(48.24, 72.98, -42.06)
CIE-LCHlch(48.24, 84.23, 330.04°)
OKLaboklab(58.55% 0.2078 -0.1161)
OKLCHoklch(58.55% 0.238 330.8)
XYZxyz(32.5625, 16.9822, 48.5670)
Luminance0.1698 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42ABB #2AC433
analogous
#802AC4 #C42ABB #C42A6E
triadic
#C42ABB #BBC42A #2ABBC4
tetradic
#C42ABB #C4802A #2AC433 #2A6EC4
square
#C42ABB #C4802A #2AC433 #2A6EC4
split-complementary
#C42ABB #6EC42A #2AC480
monochromatic
#5F145B #921F8B #C42ABB #DA51D2 #E584DF

Accessibility & contrast

On white

4.78
#C42ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C42ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42ABB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42ABB#FFFFFF#000000##FFFFFF
##C42ABB1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1365BF
Deuteranopia (green-blind)
#5D7AB7
Tritanopia (blue-blind)
#CC4072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c42abb;
/* rgb */ color: rgb(196, 42, 187);
/* oklch */ color: oklch(58.5% 0.238 330.8);
Tailwind
colors: {
  custom: {
    50: '#da76d0',
    500: '#c42abb',
    950: '#000000',
  },
}
SCSS
$custom: #c42abb;
$custom-light: #da76d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c42abb",
  "rgb": {
    "r": 196,
    "g": 42,
    "b": 187
  },
  "hsl": {
    "h": 303.506,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.58545,
    "c": 0.23803,
    "h": 330.8
  },
  "luminance": 0.1698
}

Semantic roles & 50–950 ramp

primary
#C42ABB
secondary
#7CCE81
accent
#E84A40
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C42ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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