#C42FAD#C42FAD

#C42FAD is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.1% C 0.224 H 335.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C42FAD
RGBrgb(196, 47, 173)
HSLhsl(309, 61%, 48%)
HSVhsv(309, 76%, 77%)
CMYKcmyk(0%, 76%, 11.7%, 23.1%)
CIE-LABlab(47.99, 69.54, -34.23)
CIE-LCHlch(47.99, 77.51, 333.79°)
OKLaboklab(58.14% 0.2033 -0.0936)
OKLCHoklch(58.14% 0.224 335.3)
XYZxyz(31.3247, 16.7888, 41.1179)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42FAD #2FC446
analogous
#912FC4 #C42FAD #C42F62
triadic
#C42FAD #ADC42F #2FADC4
tetradic
#C42FAD #C4912F #2FC446 #2F62C4
square
#C42FAD #C4912F #2FC446 #2F62C4
split-complementary
#C42FAD #62C42F #2FC491
monochromatic
#611756 #932381 #C42FAD #D759C4 #E38AD5

Accessibility & contrast

On white

4.82
#C42FAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C42FAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42FAD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42FAD#FFFFFF#000000##FFFFFF
##C42FAD1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F64B0
Deuteranopia (green-blind)
#667AAA
Tritanopia (blue-blind)
#CE3C6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c42fad;
/* rgb */ color: rgb(196, 47, 173);
/* oklch */ color: oklch(58.1% 0.224 335.3);
Tailwind
colors: {
  custom: {
    50: '#da78c6',
    500: '#c42fad',
    950: '#000000',
  },
}
SCSS
$custom: #c42fad;
$custom-light: #da78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c42fad",
  "rgb": {
    "r": 196,
    "g": 47,
    "b": 173
  },
  "hsl": {
    "h": 309.262,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58136,
    "c": 0.2238,
    "h": 335.3
  },
  "luminance": 0.16786
}

Semantic roles & 50–950 ramp

primary
#C42FAD
secondary
#82CD8D
accent
#E45C43
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C42FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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