#D956DF#D956DF

#D956DF is a light, highly saturated purple. Relative luminance 0.267; OKLCH L 67.3% C 0.227 H 326.0°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#D956DF
RGBrgb(217, 86, 223)
HSLhsl(297, 68%, 61%)
HSVhsv(297, 61%, 87%)
CMYKcmyk(2.7%, 61.4%, 0%, 12.5%)
CIE-LABlab(58.73, 68.34, -45.86)
CIE-LCHlch(58.73, 82.30, 326.14°)
OKLaboklab(67.33% 0.1879 -0.1269)
OKLCHoklch(67.33% 0.227 326)
XYZxyz(45.2614, 26.7378, 72.5746)
Luminance0.2673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D956DF #5CDF56
analogous
#9456DF #D956DF #DF56A1
triadic
#D956DF #DFD956 #56DFD9
tetradic
#D956DF #DF9456 #5CDF56 #56A1DF
square
#D956DF #DF9456 #5CDF56 #56A1DF
split-complementary
#D956DF #A1DF56 #56DF94
monochromatic
#971E9D #C927D0 #D956DF #E589E9 #F0BDF2

Accessibility & contrast

On white

3.31
#D956DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#D956DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D956DF
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D956DF#FFFFFF#000000##000000
##D956DF1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4183E3
Deuteranopia (green-blind)
#7293DB
Tritanopia (blue-blind)
#DE6993
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d956df;
/* rgb */ color: rgb(217, 86, 223);
/* oklch */ color: oklch(67.3% 0.227 326.0);
Tailwind
colors: {
  custom: {
    50: '#e88ee9',
    500: '#d956df',
    950: '#000000',
  },
}
SCSS
$custom: #d956df;
$custom-light: #e88ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#d956df",
  "rgb": {
    "r": 217,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 297.372,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.67335,
    "c": 0.22674,
    "h": 326
  },
  "luminance": 0.26735
}

Semantic roles & 50–950 ramp

primary
#D956DF
secondary
#B1E2AE
accent
#D0151E
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D956DF

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

Preview Lab → · Contrast checker → · Palette generator →

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