#C42FAE#C42FAE

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

Color values

HEX#C42FAE
RGBrgb(196, 47, 174)
HSLhsl(309, 61%, 48%)
HSVhsv(309, 76%, 77%)
CMYKcmyk(0%, 76%, 11.2%, 23.1%)
CIE-LABlab(48.04, 69.68, -34.74)
CIE-LCHlch(48.04, 77.86, 333.50°)
OKLaboklab(58.19% 0.2034 -0.095)
OKLCHoklch(58.19% 0.224 335)
XYZxyz(31.4218, 16.8276, 41.6294)
Luminance0.1683 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42FAE #2FC445
analogous
#8F2FC4 #C42FAE #C42F63
triadic
#C42FAE #AEC42F #2FAEC4
tetradic
#C42FAE #C48F2F #2FC445 #2F63C4
square
#C42FAE #C48F2F #2FC445 #2F63C4
split-complementary
#C42FAE #63C42F #2FC48F
monochromatic
#611756 #932382 #C42FAE #D759C5 #E38AD6

Accessibility & contrast

On white

4.81
#C42FAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C42FAE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42FAE#FFFFFF#000000##FFFFFF
##C42FAE1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E64B1
Deuteranopia (green-blind)
#657AAB
Tritanopia (blue-blind)
#CE3C6C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c42fae;
/* rgb */ color: rgb(196, 47, 174);
/* oklch */ color: oklch(58.2% 0.224 335.0);
Tailwind
colors: {
  custom: {
    50: '#da78c6',
    500: '#c42fae',
    950: '#000000',
  },
}
SCSS
$custom: #c42fae;
$custom-light: #da78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c42fae",
  "rgb": {
    "r": 196,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 308.859,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58188,
    "c": 0.22447,
    "h": 335
  },
  "luminance": 0.16825
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C42FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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