#D956C7#D956C7

#D956C7 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.1% C 0.208 H 333.4°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#D956C7
RGBrgb(217, 86, 199)
HSLhsl(308, 63%, 59%)
HSVhsv(308, 60%, 85%)
CMYKcmyk(0%, 60.4%, 8.3%, 14.9%)
CIE-LABlab(57.59, 64.39, -34.05)
CIE-LCHlch(57.59, 72.84, 332.13°)
OKLaboklab(66.14% 0.1856 -0.0929)
OKLCHoklch(66.14% 0.208 333.4)
XYZxyz(42.2520, 25.5340, 56.7249)
Luminance0.2553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D956C7 #56D968
analogous
#A956D9 #D956C7 #D95686
triadic
#D956C7 #C7D956 #56C7D9
tetradic
#D956C7 #D9A956 #56D968 #5686D9
square
#D956C7 #D9A956 #56D968 #5686D9
split-complementary
#D956C7 #86D956 #56D9A9
monochromatic
#932184 #C52CB0 #D956C7 #E488D8 #EFBAE8

Accessibility & contrast

On white

3.44
#D956C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#D956C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D956C7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D956C7#FFFFFF#000000##000000
##D956C71.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#537ECA
Deuteranopia (green-blind)
#7D91C4
Tritanopia (blue-blind)
#E26087
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d956c7;
/* rgb */ color: rgb(217, 86, 199);
/* oklch */ color: oklch(66.1% 0.208 333.4);
Tailwind
colors: {
  custom: {
    50: '#e88dd8',
    500: '#d956c7',
    950: '#000000',
  },
}
SCSS
$custom: #d956c7;
$custom-light: #e88dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#d956c7",
  "rgb": {
    "r": 217,
    "g": 86,
    "b": 199
  },
  "hsl": {
    "h": 308.244,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66136,
    "c": 0.20757,
    "h": 333.4
  },
  "luminance": 0.25531
}

Semantic roles & 50–950 ramp

primary
#D956C7
secondary
#ACDFB3
accent
#E65841
background
#FEF9FD
surface
#FDF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D956C7

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

Preview Lab → · Contrast checker → · Palette generator →

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