#D947C8#D947C8

#D947C8 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.6% C 0.228 H 332.9°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#D947C8
RGBrgb(217, 71, 200)
HSLhsl(307, 66%, 56%)
HSVhsv(307, 67%, 85%)
CMYKcmyk(0%, 67.3%, 7.8%, 14.9%)
CIE-LABlab(55.51, 70.44, -37.87)
CIE-LCHlch(55.51, 79.98, 331.74°)
OKLaboklab(64.64% 0.2029 -0.1038)
OKLCHoklch(64.64% 0.228 332.9)
XYZxyz(41.2940, 23.4316, 56.9803)
Luminance0.2343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D947C8 #47D958
analogous
#A147D9 #D947C8 #D9477F
triadic
#D947C8 #C8D947 #47C8D9
tetradic
#D947C8 #D9A147 #47D958 #477FD9
square
#D947C8 #D9A147 #47D958 #477FD9
split-complementary
#D947C8 #7FD947 #47D9A1
monochromatic
#891C7D #BC27AB #D947C8 #E37AD7 #EEACE6

Accessibility & contrast

On white

3.69
#D947C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#D947C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D947C8
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D947C8#FFFFFF#000000##000000
##D947C81.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4178CC
Deuteranopia (green-blind)
#758CC4
Tritanopia (blue-blind)
#E25482
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d947c8;
/* rgb */ color: rgb(217, 71, 200);
/* oklch */ color: oklch(64.6% 0.228 332.9);
Tailwind
colors: {
  custom: {
    50: '#e886d9',
    500: '#d947c8',
    950: '#000000',
  },
}
SCSS
$custom: #d947c8;
$custom-light: #e886d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d947c8",
  "rgb": {
    "r": 217,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 306.986,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64639,
    "c": 0.2279,
    "h": 332.9
  },
  "luminance": 0.23428
}

Semantic roles & 50–950 ramp

primary
#D947C8
secondary
#A0DCA7
accent
#E9533F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #D947C8

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

Preview Lab → · Contrast checker → · Palette generator →

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