#D42CDC#D42CDC

#D42CDC is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 63.0% C 0.267 H 326.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#D42CDC
RGBrgb(212, 44, 220)
HSLhsl(297, 72%, 52%)
HSVhsv(297, 80%, 86%)
CMYKcmyk(3.6%, 80%, 0%, 13.7%)
CIE-LABlab(52.92, 80.65, -53.45)
CIE-LCHlch(52.92, 96.76, 326.46°)
OKLaboklab(62.97% 0.2213 -0.1489)
OKLCHoklch(62.97% 0.267 326.1)
XYZxyz(40.9695, 20.9686, 69.5857)
Luminance0.2097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D42CDC #34DC2C
analogous
#7C2CDC #D42CDC #DC2C8C
triadic
#D42CDC #DCD42C #2CDCD4
tetradic
#D42CDC #DC7C2C #34DC2C #2C8CDC
square
#D42CDC #DC7C2C #34DC2C #2C8CDC
split-complementary
#D42CDC #8CDC2C #2CDC7C
monochromatic
#751479 #A71DAE #D42CDC #DF60E5 #E995ED

Accessibility & contrast

On white

4.04
#D42CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#D42CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D42CDC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D42CDC#FFFFFF#000000##000000
##D42CDC1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#5985D8
Tritanopia (blue-blind)
#D94F86
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #d42cdc;
/* rgb */ color: rgb(212, 44, 220);
/* oklch */ color: oklch(63.0% 0.267 326.1);
Tailwind
colors: {
  custom: {
    50: '#e67be7',
    500: '#d42cdc',
    950: '#000000',
  },
}
SCSS
$custom: #d42cdc;
$custom-light: #e67be7;
$custom-dark: #000000;
JSON
{
  "hex": "#d42cdc",
  "rgb": {
    "r": 212,
    "g": 44,
    "b": 220
  },
  "hsl": {
    "h": 297.273,
    "s": 71.545,
    "l": 51.765
  },
  "oklch": {
    "l": 0.62965,
    "c": 0.26669,
    "h": 326.1
  },
  "luminance": 0.20966
}

Semantic roles & 50–950 ramp

primary
#D42CDC
secondary
#8FD98B
accent
#EE3A42
background
#FEF8FE
surface
#FDEFFD
border
#D5CAD5
text
#170B16
muted
#857C84

Preview Lab

Preview with #D42CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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