#D956CC#D956CC

#D956CC is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.4% C 0.211 H 331.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#D956CC
RGBrgb(217, 86, 204)
HSLhsl(306, 63%, 59%)
HSVhsv(306, 60%, 85%)
CMYKcmyk(0%, 60.4%, 6%, 14.9%)
CIE-LABlab(57.82, 65.19, -36.54)
CIE-LCHlch(57.82, 74.73, 330.72°)
OKLaboklab(66.38% 0.1862 -0.1001)
OKLCHoklch(66.38% 0.211 331.7)
XYZxyz(42.8421, 25.7700, 59.8327)
Luminance0.2577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D956CC #56D963
analogous
#A556D9 #D956CC #D9568B
triadic
#D956CC #CCD956 #56CCD9
tetradic
#D956CC #D9A556 #56D963 #568BD9
square
#D956CC #D9A556 #56D963 #568BD9
split-complementary
#D956CC #8BD956 #56D9A5
monochromatic
#932188 #C52CB6 #D956CC #E488DB #EFBAEA

Accessibility & contrast

On white

3.41
#D956CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#D956CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D956CC
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D956CC#FFFFFF#000000##000000
##D956CC1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#507FD0
Deuteranopia (green-blind)
#7B92C9
Tritanopia (blue-blind)
#E16289
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d956cc;
/* rgb */ color: rgb(217, 86, 204);
/* oklch */ color: oklch(66.4% 0.211 331.7);
Tailwind
colors: {
  custom: {
    50: '#e88ddc',
    500: '#d956cc',
    950: '#000000',
  },
}
SCSS
$custom: #d956cc;
$custom-light: #e88ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#d956cc",
  "rgb": {
    "r": 217,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 305.954,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66375,
    "c": 0.21143,
    "h": 331.7
  },
  "luminance": 0.25767
}

Semantic roles & 50–950 ramp

primary
#D956CC
secondary
#ACDFB1
accent
#E65241
background
#FEF9FD
surface
#FDF1FB
border
#D5CBD4
text
#160D15
muted
#847E83

Preview Lab

Preview with #D956CC

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

Preview Lab → · Contrast checker → · Palette generator →

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