#D942CF#D942CF

#D942CF is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.5% C 0.239 H 330.8°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#D942CF
RGBrgb(217, 66, 207)
HSLhsl(304, 67%, 55%)
HSVhsv(304, 70%, 85%)
CMYKcmyk(0%, 69.6%, 4.6%, 14.9%)
CIE-LABlab(55.23, 73.27, -42.32)
CIE-LCHlch(55.23, 84.61, 329.99°)
OKLaboklab(64.55% 0.2085 -0.1165)
OKLCHoklch(64.55% 0.239 330.8)
XYZxyz(41.8259, 23.1564, 61.2861)
Luminance0.2315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D942CF #42D94C
analogous
#9842D9 #D942CF #D94283
triadic
#D942CF #CFD942 #42CFD9
tetradic
#D942CF #D99842 #42D94C #4283D9
square
#D942CF #D99842 #42D94C #4283D9
split-complementary
#D942CF #83D942 #42D998
monochromatic
#861B7F #B925AF #D942CF #E375DC #EDA8E9

Accessibility & contrast

On white

3.73
#D942CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#D942CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D942CF
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D942CF#FFFFFF#000000##000000
##D942CF1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3577D3
Deuteranopia (green-blind)
#6F8CCB
Tritanopia (blue-blind)
#E15484
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d942cf;
/* rgb */ color: rgb(217, 66, 207);
/* oklch */ color: oklch(64.5% 0.239 330.8);
Tailwind
colors: {
  custom: {
    50: '#e983de',
    500: '#d942cf',
    950: '#000000',
  },
}
SCSS
$custom: #d942cf;
$custom-light: #e983de;
$custom-dark: #000000;
JSON
{
  "hex": "#d942cf",
  "rgb": {
    "r": 217,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 303.974,
    "s": 66.52,
    "l": 55.49
  },
  "oklch": {
    "l": 0.64547,
    "c": 0.23883,
    "h": 330.8
  },
  "luminance": 0.23153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D942CF

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

Preview Lab → · Contrast checker → · Palette generator →

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