#D956E7#D956E7

#D956E7 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.8% C 0.233 H 323.7°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#D956E7
RGBrgb(217, 86, 231)
HSLhsl(294, 75%, 62%)
HSVhsv(294, 63%, 91%)
CMYKcmyk(6.1%, 62.8%, 0%, 9.4%)
CIE-LABlab(59.14, 69.72, -49.70)
CIE-LCHlch(59.14, 85.62, 324.52°)
OKLaboklab(67.76% 0.1882 -0.1381)
OKLCHoklch(67.76% 0.233 323.7)
XYZxyz(46.3656, 27.1794, 78.3898)
Luminance0.2718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D956E7 #64E756
analogous
#9156E7 #D956E7 #E756AD
triadic
#D956E7 #E7D956 #56E7D9
tetradic
#D956E7 #E79156 #64E756 #56ADE7
square
#D956E7 #E79156 #64E756 #56ADE7
split-complementary
#D956E7 #ADE756 #56E791
monochromatic
#9C18AA #CD20DF #D956E7 #E58CEF #F1C1F6

Accessibility & contrast

On white

3.26
#D956E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#D956E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D956E7
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D956E7#FFFFFF#000000##000000
##D956E71.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3884EB
Deuteranopia (green-blind)
#6D94E3
Tritanopia (blue-blind)
#DD6C97
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d956e7;
/* rgb */ color: rgb(217, 86, 231);
/* oklch */ color: oklch(67.8% 0.233 323.7);
Tailwind
colors: {
  custom: {
    50: '#e88eef',
    500: '#d956e7',
    950: '#000000',
  },
}
SCSS
$custom: #d956e7;
$custom-light: #e88eef;
$custom-dark: #000000;
JSON
{
  "hex": "#d956e7",
  "rgb": {
    "r": 217,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 294.207,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67764,
    "c": 0.23343,
    "h": 323.7
  },
  "luminance": 0.27177
}

Semantic roles & 50–950 ramp

primary
#D956E7
secondary
#B7E7B2
accent
#D70E22
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D956E7

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

Preview Lab → · Contrast checker → · Palette generator →

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