#D956DE#D956DE

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

Color values

HEX#D956DE
RGBrgb(217, 86, 222)
HSLhsl(298, 67%, 60%)
HSVhsv(298, 61%, 87%)
CMYKcmyk(2.3%, 61.3%, 0%, 12.9%)
CIE-LABlab(58.68, 68.16, -45.38)
CIE-LCHlch(58.68, 81.89, 326.35°)
OKLaboklab(67.28% 0.1878 -0.1255)
OKLCHoklch(67.28% 0.226 326.2)
XYZxyz(45.1270, 26.6840, 71.8667)
Luminance0.2668 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D956DE #5BDE56
analogous
#9556DE #D956DE #DE569F
triadic
#D956DE #DED956 #56DED9
tetradic
#D956DE #DE9556 #5BDE56 #569FDE
square
#D956DE #DE9556 #5BDE56 #569FDE
split-complementary
#D956DE #9FDE56 #56DE95
monochromatic
#971E9B #C828CE #D956DE #E589E8 #F0BCF2

Accessibility & contrast

On white

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

On black

6.34
#D956DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D956DE
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D956DE#FFFFFF#000000##000000
##D956DE1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4283E2
Deuteranopia (green-blind)
#7293DA
Tritanopia (blue-blind)
#DE6993
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d956de;
/* rgb */ color: rgb(217, 86, 222);
/* oklch */ color: oklch(67.3% 0.226 326.2);
Tailwind
colors: {
  custom: {
    50: '#e88ee9',
    500: '#d956de',
    950: '#000000',
  },
}
SCSS
$custom: #d956de;
$custom-light: #e88ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#d956de",
  "rgb": {
    "r": 217,
    "g": 86,
    "b": 222
  },
  "hsl": {
    "h": 297.794,
    "s": 67.327,
    "l": 60.392
  },
  "oklch": {
    "l": 0.67283,
    "c": 0.22591,
    "h": 326.2
  },
  "luminance": 0.26681
}

Semantic roles & 50–950 ramp

primary
#D956DE
secondary
#B0E2AE
accent
#CF161D
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D956DE

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

Preview Lab → · Contrast checker → · Palette generator →

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