#D947C5#D947C5

#D947C5 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.5% C 0.226 H 333.9°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#D947C5
RGBrgb(217, 71, 197)
HSLhsl(308, 66%, 56%)
HSVhsv(308, 67%, 85%)
CMYKcmyk(0%, 67.3%, 9.2%, 14.9%)
CIE-LABlab(55.37, 69.99, -36.37)
CIE-LCHlch(55.37, 78.87, 332.54°)
OKLaboklab(64.49% 0.2026 -0.0995)
OKLCHoklch(64.49% 0.226 333.9)
XYZxyz(40.9468, 23.2928, 55.1519)
Luminance0.2329 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D947C5 #47D95B
analogous
#A447D9 #D947C5 #D9477C
triadic
#D947C5 #C5D947 #47C5D9
tetradic
#D947C5 #D9A447 #47D95B #477CD9
square
#D947C5 #D9A447 #47D95B #477CD9
split-complementary
#D947C5 #7CD947 #47D9A4
monochromatic
#891C7A #BC27A8 #D947C5 #E37AD5 #EEACE5

Accessibility & contrast

On white

3.71
#D947C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#D947C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D947C5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D947C5#FFFFFF#000000##000000
##D947C51.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4477C9
Deuteranopia (green-blind)
#768CC1
Tritanopia (blue-blind)
#E35380
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d947c5;
/* rgb */ color: rgb(217, 71, 197);
/* oklch */ color: oklch(64.5% 0.226 333.9);
Tailwind
colors: {
  custom: {
    50: '#e885d7',
    500: '#d947c5',
    950: '#000000',
  },
}
SCSS
$custom: #d947c5;
$custom-light: #e885d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d947c5",
  "rgb": {
    "r": 217,
    "g": 71,
    "b": 197
  },
  "hsl": {
    "h": 308.219,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64491,
    "c": 0.22573,
    "h": 333.9
  },
  "luminance": 0.23289
}

Semantic roles & 50–950 ramp

primary
#D947C5
secondary
#A0DCA8
accent
#E9563F
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #D947C5

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

Preview Lab → · Contrast checker → · Palette generator →

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