#D956EE#D956EE

#D956EE is a light, highly saturated purple. Relative luminance 0.276; OKLCH L 68.2% C 0.239 H 321.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#D956EE
RGBrgb(217, 86, 238)
HSLhsl(292, 82%, 64%)
HSVhsv(292, 64%, 93%)
CMYKcmyk(8.8%, 63.9%, 0%, 6.7%)
CIE-LABlab(59.51, 70.96, -53.02)
CIE-LCHlch(59.51, 88.58, 323.23°)
OKLaboklab(68.15% 0.1883 -0.1478)
OKLCHoklch(68.15% 0.239 321.9)
XYZxyz(47.3740, 27.5828, 83.7010)
Luminance0.2758 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D956EE #6BEE56
analogous
#8D56EE #D956EE #EE56B7
triadic
#D956EE #EED956 #56EED9
tetradic
#D956EE #EE8D56 #6BEE56 #56B7EE
square
#D956EE #EE8D56 #6BEE56 #56B7EE
split-complementary
#D956EE #B7EE56 #56EE8D
monochromatic
#A012B7 #CC1EE8 #D956EE #E68EF4 #F2C5F9

Accessibility & contrast

On white

3.22
#D956EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#D956EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D956EE
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D956EE#FFFFFF#000000##000000
##D956EE1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F86F3
Deuteranopia (green-blind)
#6994EA
Tritanopia (blue-blind)
#DB6F9B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d956ee;
/* rgb */ color: rgb(217, 86, 238);
/* oklch */ color: oklch(68.2% 0.239 321.9);
Tailwind
colors: {
  custom: {
    50: '#e88ef4',
    500: '#d956ee',
    950: '#000000',
  },
}
SCSS
$custom: #d956ee;
$custom-light: #e88ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#d956ee",
  "rgb": {
    "r": 217,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 291.711,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68151,
    "c": 0.23938,
    "h": 321.9
  },
  "luminance": 0.2758
}

Semantic roles & 50–950 ramp

primary
#D956EE
secondary
#BCEBB5
accent
#DE0725
background
#FEF9FF
surface
#FDF1FE
border
#D5CBD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #D956EE

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

Preview Lab → · Contrast checker → · Palette generator →

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