#D847E2#D847E2

#D847E2 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.9% C 0.247 H 325.2°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#D847E2
RGBrgb(216, 71, 226)
HSLhsl(296, 73%, 58%)
HSVhsv(296, 69%, 89%)
CMYKcmyk(4.4%, 68.6%, 0%, 11.4%)
CIE-LABlab(56.68, 74.37, -50.80)
CIE-LCHlch(56.68, 90.07, 325.66°)
OKLaboklab(65.88% 0.2029 -0.1412)
OKLCHoklch(65.88% 0.247 325.2)
XYZxyz(44.2986, 24.5992, 74.3516)
Luminance0.2460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D847E2 #51E247
analogous
#8A47E2 #D847E2 #E2479E
triadic
#D847E2 #E2D847 #47E2D8
tetradic
#D847E2 #E28A47 #51E247 #479EE2
square
#D847E2 #E28A47 #51E247 #479EE2
split-complementary
#D847E2 #9EE247 #47E28A
monochromatic
#8F1897 #C120CC #D847E2 #E37CEA #EEB1F3

Accessibility & contrast

On white

3.55
#D847E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#D847E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D847E2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D847E2#FFFFFF#000000##000000
##D847E21.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#217DE6
Deuteranopia (green-blind)
#668EDE
Tritanopia (blue-blind)
#DD6090
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #d847e2;
/* rgb */ color: rgb(216, 71, 226);
/* oklch */ color: oklch(65.9% 0.247 325.2);
Tailwind
colors: {
  custom: {
    50: '#e886ec',
    500: '#d847e2',
    950: '#000000',
  },
}
SCSS
$custom: #d847e2;
$custom-light: #e886ec;
$custom-dark: #000000;
JSON
{
  "hex": "#d847e2",
  "rgb": {
    "r": 216,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 296.129,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.65879,
    "c": 0.2472,
    "h": 325.2
  },
  "luminance": 0.24596
}

Semantic roles & 50–950 ramp

primary
#D847E2
secondary
#A8E1A4
accent
#EF3844
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #D847E2

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

Preview Lab → · Contrast checker → · Palette generator →

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