#D947C7#D947C7

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

Color values

HEX#D947C7
RGBrgb(217, 71, 199)
HSLhsl(307, 66%, 56%)
HSVhsv(307, 67%, 85%)
CMYKcmyk(0%, 67.3%, 8.3%, 14.9%)
CIE-LABlab(55.47, 70.29, -37.37)
CIE-LCHlch(55.47, 79.61, 332.00°)
OKLaboklab(64.59% 0.2028 -0.1023)
OKLCHoklch(64.59% 0.227 333.2)
XYZxyz(41.1775, 23.3850, 56.3668)
Luminance0.2338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D947C7 #47D959
analogous
#A247D9 #D947C7 #D9477E
triadic
#D947C7 #C7D947 #47C7D9
tetradic
#D947C7 #D9A247 #47D959 #477ED9
square
#D947C7 #D9A247 #47D959 #477ED9
split-complementary
#D947C7 #7ED947 #47D9A2
monochromatic
#891C7C #BC27AA #D947C7 #E37AD6 #EEACE6

Accessibility & contrast

On white

3.70
#D947C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#D947C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D947C7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D947C7#FFFFFF#000000##000000
##D947C71.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4277CB
Deuteranopia (green-blind)
#758CC3
Tritanopia (blue-blind)
#E25481
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d947c7;
/* rgb */ color: rgb(217, 71, 199);
/* oklch */ color: oklch(64.6% 0.227 333.2);
Tailwind
colors: {
  custom: {
    50: '#e885d8',
    500: '#d947c7',
    950: '#000000',
  },
}
SCSS
$custom: #d947c7;
$custom-light: #e885d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d947c7",
  "rgb": {
    "r": 217,
    "g": 71,
    "b": 199
  },
  "hsl": {
    "h": 307.397,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64589,
    "c": 0.22717,
    "h": 333.2
  },
  "luminance": 0.23382
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D947C7

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

Preview Lab → · Contrast checker → · Palette generator →

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