#D847C5#D847C5

#D847C5 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.3% C 0.225 H 333.6°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#D847C5
RGBrgb(216, 71, 197)
HSLhsl(308, 65%, 56%)
HSVhsv(308, 67%, 85%)
CMYKcmyk(0%, 67.1%, 8.8%, 15.3%)
CIE-LABlab(55.22, 69.75, -36.63)
CIE-LCHlch(55.22, 78.78, 332.29°)
OKLaboklab(64.35% 0.2016 -0.1002)
OKLCHoklch(64.35% 0.225 333.6)
XYZxyz(40.6504, 23.1399, 55.1380)
Luminance0.2314 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D847C5 #47D85A
analogous
#A347D8 #D847C5 #D8477D
triadic
#D847C5 #C5D847 #47C5D8
tetradic
#D847C5 #D8A347 #47D85A #477DD8
square
#D847C5 #D8A347 #47D85A #477DD8
split-complementary
#D847C5 #7DD847 #47D8A3
monochromatic
#881D7A #BA27A7 #D847C5 #E379D5 #EDACE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D847C5#FFFFFF#000000##000000
##D847C51.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)
#4377C9
Deuteranopia (green-blind)
#758CC1
Tritanopia (blue-blind)
#E25380
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d847c5;
/* rgb */ color: rgb(216, 71, 197);
/* oklch */ color: oklch(64.3% 0.225 333.6);
Tailwind
colors: {
  custom: {
    50: '#e885d7',
    500: '#d847c5',
    950: '#000000',
  },
}
SCSS
$custom: #d847c5;
$custom-light: #e885d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d847c5",
  "rgb": {
    "r": 216,
    "g": 71,
    "b": 197
  },
  "hsl": {
    "h": 307.862,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64347,
    "c": 0.22516,
    "h": 333.6
  },
  "luminance": 0.23137
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D847C5

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

Preview Lab → · Contrast checker → · Palette generator →

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