#D956E5#D956E5

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

Color values

HEX#D956E5
RGBrgb(217, 86, 229)
HSLhsl(295, 73%, 62%)
HSVhsv(295, 62%, 90%)
CMYKcmyk(5.2%, 62.4%, 0%, 10.2%)
CIE-LABlab(59.04, 69.37, -48.74)
CIE-LCHlch(59.04, 84.78, 324.91°)
OKLaboklab(67.66% 0.1881 -0.1353)
OKLCHoklch(67.66% 0.232 324.3)
XYZxyz(46.0847, 27.0671, 76.9106)
Luminance0.2706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D956E5 #62E556
analogous
#9256E5 #D956E5 #E556AA
triadic
#D956E5 #E5D956 #56E5D9
tetradic
#D956E5 #E59256 #62E556 #56AAE5
square
#D956E5 #E59256 #62E556 #56AAE5
split-complementary
#D956E5 #AAE556 #56E592
monochromatic
#9B1AA7 #CC22DC #D956E5 #E58BED #F1C0F5

Accessibility & contrast

On white

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

On black

6.41
#D956E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D956E5
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D956E5#FFFFFF#000000##000000
##D956E51.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B84E9
Deuteranopia (green-blind)
#6E94E1
Tritanopia (blue-blind)
#DD6B96
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #d956e5;
/* rgb */ color: rgb(217, 86, 229);
/* oklch */ color: oklch(67.7% 0.232 324.3);
Tailwind
colors: {
  custom: {
    50: '#e88eee',
    500: '#d956e5',
    950: '#000000',
  },
}
SCSS
$custom: #d956e5;
$custom-light: #e88eee;
$custom-dark: #000000;
JSON
{
  "hex": "#d956e5",
  "rgb": {
    "r": 217,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 294.965,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.67656,
    "c": 0.23175,
    "h": 324.3
  },
  "luminance": 0.27064
}

Semantic roles & 50–950 ramp

primary
#D956E5
secondary
#B5E6B1
accent
#D51021
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #D956E5

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

Preview Lab → · Contrast checker → · Palette generator →

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