#D956E8#D956E8

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

Color values

HEX#D956E8
RGBrgb(217, 86, 232)
HSLhsl(294, 76%, 62%)
HSVhsv(294, 63%, 91%)
CMYKcmyk(6.5%, 62.9%, 0%, 9%)
CIE-LABlab(59.19, 69.90, -50.18)
CIE-LCHlch(59.19, 86.04, 324.33°)
OKLaboklab(67.82% 0.1882 -0.1395)
OKLCHoklch(67.82% 0.234 323.5)
XYZxyz(46.5072, 27.2361, 79.1357)
Luminance0.2723 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D956E8 #65E856
analogous
#9056E8 #D956E8 #E856AE
triadic
#D956E8 #E8D956 #56E8D9
tetradic
#D956E8 #E89056 #65E856 #56AEE8
square
#D956E8 #E89056 #65E856 #56AEE8
split-complementary
#D956E8 #AEE856 #56E890
monochromatic
#9D17AC #CD20E1 #D956E8 #E58CEF #F1C2F7

Accessibility & contrast

On white

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

On black

6.45
#D956E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D956E8
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D956E8#FFFFFF#000000##000000
##D956E81.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3785EC
Deuteranopia (green-blind)
#6C94E4
Tritanopia (blue-blind)
#DD6C98
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d956e8;
/* rgb */ color: rgb(217, 86, 232);
/* oklch */ color: oklch(67.8% 0.234 323.5);
Tailwind
colors: {
  custom: {
    50: '#e88ef0',
    500: '#d956e8',
    950: '#000000',
  },
}
SCSS
$custom: #d956e8;
$custom-light: #e88ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#d956e8",
  "rgb": {
    "r": 217,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 293.836,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67819,
    "c": 0.23428,
    "h": 323.5
  },
  "luminance": 0.27233
}

Semantic roles & 50–950 ramp

primary
#D956E8
secondary
#B8E8B2
accent
#D80D22
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D956E8

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

Preview Lab → · Contrast checker → · Palette generator →

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