#D847CC#D847CC

#D847CC is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.7% C 0.230 H 331.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#D847CC
RGBrgb(216, 71, 204)
HSLhsl(305, 65%, 56%)
HSVhsv(305, 67%, 85%)
CMYKcmyk(0%, 67.1%, 5.6%, 15.3%)
CIE-LABlab(55.55, 70.82, -40.11)
CIE-LCHlch(55.55, 81.39, 330.47°)
OKLaboklab(64.7% 0.2022 -0.1102)
OKLCHoklch(64.7% 0.23 331.4)
XYZxyz(41.4712, 23.4682, 59.4606)
Luminance0.2346 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D847CC #47D853
analogous
#9C47D8 #D847CC #D84784
triadic
#D847CC #CCD847 #47CCD8
tetradic
#D847CC #D89C47 #47D853 #4784D8
square
#D847CC #D89C47 #47D853 #4784D8
split-complementary
#D847CC #84D847 #47D89C
monochromatic
#881D7F #BA27AE #D847CC #E379DA #EDACE8

Accessibility & contrast

On white

3.69
#D847CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#D847CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D847CC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D847CC#FFFFFF#000000##000000
##D847CC1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D0
Deuteranopia (green-blind)
#728CC8
Tritanopia (blue-blind)
#E15684
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d847cc;
/* rgb */ color: rgb(216, 71, 204);
/* oklch */ color: oklch(64.7% 0.230 331.4);
Tailwind
colors: {
  custom: {
    50: '#e886dc',
    500: '#d847cc',
    950: '#000000',
  },
}
SCSS
$custom: #d847cc;
$custom-light: #e886dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d847cc",
  "rgb": {
    "r": 216,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 304.966,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64698,
    "c": 0.2303,
    "h": 331.4
  },
  "luminance": 0.23465
}

Semantic roles & 50–950 ramp

primary
#D847CC
secondary
#A0DBA4
accent
#E84E40
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D847CC

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

Preview Lab → · Contrast checker → · Palette generator →

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