#D942C8#D942C8

#D942C8 is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.2% C 0.234 H 332.9°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#D942C8
RGBrgb(217, 66, 200)
HSLhsl(307, 67%, 55%)
HSVhsv(307, 70%, 85%)
CMYKcmyk(0%, 69.6%, 7.8%, 14.9%)
CIE-LABlab(54.89, 72.21, -38.85)
CIE-LCHlch(54.89, 82.00, 331.72°)
OKLaboklab(64.19% 0.2081 -0.1066)
OKLCHoklch(64.19% 0.234 332.9)
XYZxyz(40.9890, 22.8216, 56.8786)
Luminance0.2282 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D942C8 #42D953
analogous
#9E42D9 #D942C8 #D9427C
triadic
#D942C8 #C8D942 #42C8D9
tetradic
#D942C8 #D99E42 #42D953 #427CD9
square
#D942C8 #D99E42 #42D953 #427CD9
split-complementary
#D942C8 #7CD942 #42D99E
monochromatic
#861B7A #B925A8 #D942C8 #E375D7 #EDA8E6

Accessibility & contrast

On white

3.77
#D942C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#D942C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D942C8
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D942C8#FFFFFF#000000##000000
##D942C81.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C76CC
Deuteranopia (green-blind)
#738BC4
Tritanopia (blue-blind)
#E25180
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d942c8;
/* rgb */ color: rgb(217, 66, 200);
/* oklch */ color: oklch(64.2% 0.234 332.9);
Tailwind
colors: {
  custom: {
    50: '#e983d9',
    500: '#d942c8',
    950: '#000000',
  },
}
SCSS
$custom: #d942c8;
$custom-light: #e983d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d942c8",
  "rgb": {
    "r": 217,
    "g": 66,
    "b": 200
  },
  "hsl": {
    "h": 306.755,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.64187,
    "c": 0.23376,
    "h": 332.9
  },
  "luminance": 0.22818
}

Semantic roles & 50–950 ramp

primary
#D942C8
secondary
#9CDBA3
accent
#E9523E
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #D942C8

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

Preview Lab → · Contrast checker → · Palette generator →

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