#D847C2#D847C2

#D847C2 is a light, highly saturated purple. Relative luminance 0.230; OKLCH L 64.2% C 0.223 H 334.5°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#D847C2
RGBrgb(216, 71, 194)
HSLhsl(309, 65%, 56%)
HSVhsv(309, 67%, 85%)
CMYKcmyk(0%, 67.1%, 10.2%, 15.3%)
CIE-LABlab(55.08, 69.30, -35.12)
CIE-LCHlch(55.08, 77.69, 333.12°)
OKLaboklab(64.2% 0.2013 -0.0959)
OKLCHoklch(64.2% 0.223 334.5)
XYZxyz(40.3101, 23.0038, 53.3456)
Luminance0.2300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D847C2 #47D85D
analogous
#A547D8 #D847C2 #D8477A
triadic
#D847C2 #C2D847 #47C2D8
tetradic
#D847C2 #D8A547 #47D85D #477AD8
square
#D847C2 #D8A547 #47D85D #477AD8
split-complementary
#D847C2 #7AD847 #47D8A5
monochromatic
#881D78 #BA27A4 #D847C2 #E379D3 #EDACE3

Accessibility & contrast

On white

3.75
#D847C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#D847C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D847C2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D847C2#FFFFFF#000000##000000
##D847C21.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4576C6
Deuteranopia (green-blind)
#778CBE
Tritanopia (blue-blind)
#E2527F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d847c2;
/* rgb */ color: rgb(216, 71, 194);
/* oklch */ color: oklch(64.2% 0.223 334.5);
Tailwind
colors: {
  custom: {
    50: '#e885d5',
    500: '#d847c2',
    950: '#000000',
  },
}
SCSS
$custom: #d847c2;
$custom-light: #e885d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d847c2",
  "rgb": {
    "r": 216,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 309.103,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.642,
    "c": 0.22301,
    "h": 334.5
  },
  "luminance": 0.23
}

Semantic roles & 50–950 ramp

primary
#D847C2
secondary
#A0DBA9
accent
#E85940
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D847C2

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

Preview Lab → · Contrast checker → · Palette generator →

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