#D947CC#D947CC

#D947CC is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.8% C 0.231 H 331.7°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#D947CC
RGBrgb(217, 71, 204)
HSLhsl(305, 66%, 56%)
HSVhsv(305, 67%, 85%)
CMYKcmyk(0%, 67.3%, 6%, 14.9%)
CIE-LABlab(55.71, 71.05, -39.86)
CIE-LCHlch(55.71, 81.47, 330.71°)
OKLaboklab(64.84% 0.2032 -0.1095)
OKLCHoklch(64.84% 0.231 331.7)
XYZxyz(41.7676, 23.6211, 59.4745)
Luminance0.2362 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D947CC #47D954
analogous
#9D47D9 #D947CC #D94783
triadic
#D947CC #CCD947 #47CCD9
tetradic
#D947CC #D99D47 #47D954 #4783D9
square
#D947CC #D99D47 #47D954 #4783D9
split-complementary
#D947CC #83D947 #47D99D
monochromatic
#891C80 #BC27AF #D947CC #E37ADA #EEACE8

Accessibility & contrast

On white

3.67
#D947CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#D947CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D947CC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D947CC#FFFFFF#000000##000000
##D947CC1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E78D0
Deuteranopia (green-blind)
#738DC8
Tritanopia (blue-blind)
#E25684
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d947cc;
/* rgb */ color: rgb(217, 71, 204);
/* oklch */ color: oklch(64.8% 0.231 331.7);
Tailwind
colors: {
  custom: {
    50: '#e886dc',
    500: '#d947cc',
    950: '#000000',
  },
}
SCSS
$custom: #d947cc;
$custom-light: #e886dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d947cc",
  "rgb": {
    "r": 217,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 305.342,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64841,
    "c": 0.23084,
    "h": 331.7
  },
  "luminance": 0.23618
}

Semantic roles & 50–950 ramp

primary
#D947CC
secondary
#A0DCA5
accent
#E94E3F
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D947CC

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

Preview Lab → · Contrast checker → · Palette generator →

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