#D047D8#D047D8

#D047D8 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.2% C 0.236 H 325.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#D047D8
RGBrgb(208, 71, 216)
HSLhsl(297, 65%, 56%)
HSVhsv(297, 67%, 85%)
CMYKcmyk(3.7%, 67.1%, 0%, 15.3%)
CIE-LABlab(54.95, 70.94, -47.98)
CIE-LCHlch(54.95, 85.65, 325.93°)
OKLaboklab(64.22% 0.1942 -0.1332)
OKLCHoklch(64.22% 0.236 325.6)
XYZxyz(40.6594, 22.8768, 67.2265)
Luminance0.2287 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D047D8 #4FD847
analogous
#8847D8 #D047D8 #D84798
triadic
#D047D8 #D8D047 #47D8D0
tetradic
#D047D8 #D88847 #4FD847 #4798D8
square
#D047D8 #D88847 #4FD847 #4798D8
split-complementary
#D047D8 #98D847 #47D888
monochromatic
#821D88 #B227BA #D047D8 #DD79E3 #EAACED

Accessibility & contrast

On white

3.77
#D047D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#D047D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D047D8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D047D8#FFFFFF#000000##000000
##D047D81.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2979DC
Deuteranopia (green-blind)
#6589D4
Tritanopia (blue-blind)
#D55D8A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d047d8;
/* rgb */ color: rgb(208, 71, 216);
/* oklch */ color: oklch(64.2% 0.236 325.6);
Tailwind
colors: {
  custom: {
    50: '#e285e4',
    500: '#d047d8',
    950: '#000000',
  },
}
SCSS
$custom: #d047d8;
$custom-light: #e285e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d047d8",
  "rgb": {
    "r": 208,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 296.69,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.64221,
    "c": 0.23553,
    "h": 325.6
  },
  "luminance": 0.22874
}

Semantic roles & 50–950 ramp

primary
#D047D8
secondary
#A3DBA0
accent
#E84049
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D047D8

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

Preview Lab → · Contrast checker → · Palette generator →

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