#D847C7#D847C7

#D847C7 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.4% C 0.227 H 332.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#D847C7
RGBrgb(216, 71, 199)
HSLhsl(307, 65%, 56%)
HSVhsv(307, 67%, 85%)
CMYKcmyk(0%, 67.1%, 7.9%, 15.3%)
CIE-LABlab(55.31, 70.05, -37.63)
CIE-LCHlch(55.31, 79.52, 331.76°)
OKLaboklab(64.45% 0.2018 -0.1031)
OKLCHoklch(64.45% 0.227 332.9)
XYZxyz(40.8811, 23.2322, 56.3529)
Luminance0.2323 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D847C7 #47D858
analogous
#A047D8 #D847C7 #D8477F
triadic
#D847C7 #C7D847 #47C7D8
tetradic
#D847C7 #D8A047 #47D858 #477FD8
square
#D847C7 #D8A047 #47D858 #477FD8
split-complementary
#D847C7 #7FD847 #47D8A0
monochromatic
#881D7B #BA27A9 #D847C7 #E379D6 #EDACE6

Accessibility & contrast

On white

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

On black

5.65
#D847C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D847C7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D847C7#FFFFFF#000000##000000
##D847C71.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4277CB
Deuteranopia (green-blind)
#758CC3
Tritanopia (blue-blind)
#E15481
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d847c7;
/* rgb */ color: rgb(216, 71, 199);
/* oklch */ color: oklch(64.4% 0.227 332.9);
Tailwind
colors: {
  custom: {
    50: '#e885d8',
    500: '#d847c7',
    950: '#000000',
  },
}
SCSS
$custom: #d847c7;
$custom-light: #e885d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d847c7",
  "rgb": {
    "r": 216,
    "g": 71,
    "b": 199
  },
  "hsl": {
    "h": 307.034,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64446,
    "c": 0.22662,
    "h": 332.9
  },
  "luminance": 0.23229
}

Semantic roles & 50–950 ramp

primary
#D847C7
secondary
#A0DBA7
accent
#E85440
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D847C7

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

Preview Lab → · Contrast checker → · Palette generator →

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