#D956E6#D956E6

#D956E6 is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.7% C 0.233 H 324.0°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#D956E6
RGBrgb(217, 86, 230)
HSLhsl(295, 74%, 62%)
HSVhsv(295, 63%, 90%)
CMYKcmyk(5.7%, 62.6%, 0%, 9.8%)
CIE-LABlab(59.09, 69.55, -49.22)
CIE-LCHlch(59.09, 85.20, 324.71°)
OKLaboklab(67.71% 0.1882 -0.1367)
OKLCHoklch(67.71% 0.233 324)
XYZxyz(46.2247, 27.1231, 77.6481)
Luminance0.2712 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D956E6 #63E656
analogous
#9156E6 #D956E6 #E656AB
triadic
#D956E6 #E6D956 #56E6D9
tetradic
#D956E6 #E69156 #63E656 #56ABE6
square
#D956E6 #E69156 #63E656 #56ABE6
split-complementary
#D956E6 #ABE656 #56E691
monochromatic
#9C19A9 #CD21DE #D956E6 #E58BEE #F1C1F6

Accessibility & contrast

On white

3.27
#D956E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#D956E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D956E6
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D956E6#FFFFFF#000000##000000
##D956E61.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3984EA
Deuteranopia (green-blind)
#6E94E2
Tritanopia (blue-blind)
#DD6C97
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d956e6;
/* rgb */ color: rgb(217, 86, 230);
/* oklch */ color: oklch(67.7% 0.233 324.0);
Tailwind
colors: {
  custom: {
    50: '#e88eee',
    500: '#d956e6',
    950: '#000000',
  },
}
SCSS
$custom: #d956e6;
$custom-light: #e88eee;
$custom-dark: #000000;
JSON
{
  "hex": "#d956e6",
  "rgb": {
    "r": 217,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 294.583,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6771,
    "c": 0.2326,
    "h": 324
  },
  "luminance": 0.2712
}

Semantic roles & 50–950 ramp

primary
#D956E6
secondary
#B6E6B1
accent
#D60F21
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D956E6

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

Preview Lab → · Contrast checker → · Palette generator →

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