#D942D0#D942D0

#D942D0 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.6% C 0.240 H 330.5°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#D942D0
RGBrgb(217, 66, 208)
HSLhsl(304, 67%, 55%)
HSVhsv(304, 70%, 85%)
CMYKcmyk(0%, 69.6%, 4.1%, 14.9%)
CIE-LABlab(55.28, 73.43, -42.81)
CIE-LCHlch(55.28, 84.99, 329.76°)
OKLaboklab(64.6% 0.2085 -0.118)
OKLCHoklch(64.6% 0.24 330.5)
XYZxyz(41.9485, 23.2054, 61.9320)
Luminance0.2320 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D942D0 #42D94B
analogous
#9642D9 #D942D0 #D94284
triadic
#D942D0 #D0D942 #42D0D9
tetradic
#D942D0 #D99642 #42D94B #4284D9
square
#D942D0 #D99642 #42D94B #4284D9
split-complementary
#D942D0 #84D942 #42D996
monochromatic
#861B7F #B925B0 #D942D0 #E375DD #EDA8E9

Accessibility & contrast

On white

3.72
#D942D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#D942D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D942D0
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D942D0#FFFFFF#000000##000000
##D942D01.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3477D4
Deuteranopia (green-blind)
#6F8CCC
Tritanopia (blue-blind)
#E15484
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d942d0;
/* rgb */ color: rgb(217, 66, 208);
/* oklch */ color: oklch(64.6% 0.240 330.5);
Tailwind
colors: {
  custom: {
    50: '#e983df',
    500: '#d942d0',
    950: '#000000',
  },
}
SCSS
$custom: #d942d0;
$custom-light: #e983df;
$custom-dark: #000000;
JSON
{
  "hex": "#d942d0",
  "rgb": {
    "r": 217,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 303.576,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.646,
    "c": 0.23956,
    "h": 330.5
  },
  "luminance": 0.23202
}

Semantic roles & 50–950 ramp

primary
#D942D0
secondary
#9CDBA0
accent
#E9493E
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D942D0

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

Preview Lab → · Contrast checker → · Palette generator →

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