#D942CC#D942CC

#D942CC is a light, highly saturated purple. Relative luminance 0.230; OKLCH L 64.4% C 0.237 H 331.7°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#D942CC
RGBrgb(217, 66, 204)
HSLhsl(305, 67%, 55%)
HSVhsv(305, 70%, 85%)
CMYKcmyk(0%, 69.6%, 6%, 14.9%)
CIE-LABlab(55.08, 72.81, -40.84)
CIE-LCHlch(55.08, 83.48, 330.71°)
OKLaboklab(64.39% 0.2083 -0.1123)
OKLCHoklch(64.39% 0.237 331.7)
XYZxyz(41.4626, 23.0111, 59.3728)
Luminance0.2301 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D942CC #42D94F
analogous
#9B42D9 #D942CC #D94280
triadic
#D942CC #CCD942 #42CCD9
tetradic
#D942CC #D99B42 #42D94F #4280D9
square
#D942CC #D99B42 #42D94F #4280D9
split-complementary
#D942CC #80D942 #42D99B
monochromatic
#861B7D #B925AC #D942CC #E375DA #EDA8E7

Accessibility & contrast

On white

3.75
#D942CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#D942CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D942CC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D942CC#FFFFFF#000000##000000
##D942CC1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3876D0
Deuteranopia (green-blind)
#718BC8
Tritanopia (blue-blind)
#E25282
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d942cc;
/* rgb */ color: rgb(217, 66, 204);
/* oklch */ color: oklch(64.4% 0.237 331.7);
Tailwind
colors: {
  custom: {
    50: '#e983dc',
    500: '#d942cc',
    950: '#000000',
  },
}
SCSS
$custom: #d942cc;
$custom-light: #e983dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d942cc",
  "rgb": {
    "r": 217,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 305.166,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.64391,
    "c": 0.23664,
    "h": 331.7
  },
  "luminance": 0.23008
}

Semantic roles & 50–950 ramp

primary
#D942CC
secondary
#9CDBA1
accent
#E94D3E
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D942CC

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

Preview Lab → · Contrast checker → · Palette generator →

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