#D947CB#D947CB

#D947CB is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.8% C 0.230 H 332.0°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#D947CB
RGBrgb(217, 71, 203)
HSLhsl(306, 66%, 56%)
HSVhsv(306, 67%, 85%)
CMYKcmyk(0%, 67.3%, 6.5%, 14.9%)
CIE-LABlab(55.66, 70.90, -39.36)
CIE-LCHlch(55.66, 81.09, 330.96°)
OKLaboklab(64.79% 0.2032 -0.1081)
OKLCHoklch(64.79% 0.23 332)
XYZxyz(41.6480, 23.5733, 58.8449)
Luminance0.2357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D947CB #47D955
analogous
#9E47D9 #D947CB #D94782
triadic
#D947CB #CBD947 #47CBD9
tetradic
#D947CB #D99E47 #47D955 #4782D9
square
#D947CB #D99E47 #47D955 #4782D9
split-complementary
#D947CB #82D947 #47D99E
monochromatic
#891C7F #BC27AE #D947CB #E37AD9 #EEACE8

Accessibility & contrast

On white

3.68
#D947CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#D947CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D947CB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D947CB#FFFFFF#000000##000000
##D947CB1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F78CF
Deuteranopia (green-blind)
#738DC7
Tritanopia (blue-blind)
#E25683
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d947cb;
/* rgb */ color: rgb(217, 71, 203);
/* oklch */ color: oklch(64.8% 0.230 332.0);
Tailwind
colors: {
  custom: {
    50: '#e886db',
    500: '#d947cb',
    950: '#000000',
  },
}
SCSS
$custom: #d947cb;
$custom-light: #e886db;
$custom-dark: #000000;
JSON
{
  "hex": "#d947cb",
  "rgb": {
    "r": 217,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 305.753,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6479,
    "c": 0.2301,
    "h": 332
  },
  "luminance": 0.2357
}

Semantic roles & 50–950 ramp

primary
#D947CB
secondary
#A0DCA6
accent
#E94F3F
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D947CB

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

Preview Lab → · Contrast checker → · Palette generator →

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