#D956FF#D956FF

#D956FF is a light, highly saturated purple. Relative luminance 0.286; OKLCH L 69.1% C 0.254 H 317.7°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#D956FF
RGBrgb(217, 86, 255)
HSLhsl(287, 100%, 67%)
HSVhsv(287, 66%, 100%)
CMYKcmyk(14.9%, 66.3%, 0%, 0%)
CIE-LABlab(60.45, 74.06, -60.94)
CIE-LCHlch(60.45, 95.91, 320.55°)
OKLaboklab(69.13% 0.188 -0.1709)
OKLCHoklch(69.13% 0.254 317.7)
XYZxyz(49.9905, 28.6294, 97.4811)
Luminance0.2863 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D956FF #7CFF56
analogous
#8556FF #D956FF #FF56D1
triadic
#D956FF #FFD956 #56FFD9
tetradic
#D956FF #FF8556 #7CFF56 #56D1FF
square
#D956FF #FF8556 #7CFF56 #56D1FF
split-complementary
#D956FF #D1FF56 #56FF85
monochromatic
#A900DB #CB19FF #D956FF #E793FF #F5D0FF

Accessibility & contrast

On white

3.12
#D956FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#D956FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D956FF
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D956FF#FFFFFF#000000##000000
##D956FF1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0089FF
Deuteranopia (green-blind)
#5C96FB
Tritanopia (blue-blind)
#D876A4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d956ff;
/* rgb */ color: rgb(217, 86, 255);
/* oklch */ color: oklch(69.1% 0.254 317.7);
Tailwind
colors: {
  custom: {
    50: '#e98fff',
    500: '#d956ff',
    950: '#000000',
  },
}
SCSS
$custom: #d956ff;
$custom-light: #e98fff;
$custom-dark: #000000;
JSON
{
  "hex": "#d956ff",
  "rgb": {
    "r": 217,
    "g": 86,
    "b": 255
  },
  "hsl": {
    "h": 286.509,
    "s": 100,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69134,
    "c": 0.25409,
    "h": 317.7
  },
  "luminance": 0.28627
}

Semantic roles & 50–950 ramp

primary
#D956FF
secondary
#CAF3BD
accent
#E60034
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#170D18
muted
#857E86

Preview Lab

Preview with #D956FF

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

Preview Lab → · Contrast checker → · Palette generator →

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