#D947D4#D947D4

#D947D4 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.3% C 0.237 H 329.3°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#D947D4
RGBrgb(217, 71, 212)
HSLhsl(302, 66%, 56%)
HSVhsv(302, 67%, 85%)
CMYKcmyk(0%, 67.3%, 2.3%, 14.9%)
CIE-LABlab(56.10, 72.31, -43.79)
CIE-LCHlch(56.10, 84.54, 328.80°)
OKLaboklab(65.26% 0.2037 -0.1208)
OKLCHoklch(65.26% 0.237 329.3)
XYZxyz(42.7518, 24.0148, 64.6582)
Luminance0.2401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D947D4 #47D94C
analogous
#9547D9 #D947D4 #D9478B
triadic
#D947D4 #D4D947 #47D4D9
tetradic
#D947D4 #D99547 #47D94C #478BD9
square
#D947D4 #D99547 #47D94C #478BD9
split-complementary
#D947D4 #8BD947 #47D995
monochromatic
#891C86 #BC27B7 #D947D4 #E37AE0 #EEACEC

Accessibility & contrast

On white

3.62
#D947D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#D947D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D947D4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D947D4#FFFFFF#000000##000000
##D947D41.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#367AD8
Deuteranopia (green-blind)
#6F8DD0
Tritanopia (blue-blind)
#E05A88
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d947d4;
/* rgb */ color: rgb(217, 71, 212);
/* oklch */ color: oklch(65.3% 0.237 329.3);
Tailwind
colors: {
  custom: {
    50: '#e886e2',
    500: '#d947d4',
    950: '#000000',
  },
}
SCSS
$custom: #d947d4;
$custom-light: #e886e2;
$custom-dark: #000000;
JSON
{
  "hex": "#d947d4",
  "rgb": {
    "r": 217,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 302.055,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.65255,
    "c": 0.23683,
    "h": 329.3
  },
  "luminance": 0.24012
}

Semantic roles & 50–950 ramp

primary
#D947D4
secondary
#A0DCA2
accent
#E9453F
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D947D4

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

Preview Lab → · Contrast checker → · Palette generator →

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