#D856FD#D856FD

#D856FD is a light, highly saturated purple. Relative luminance 0.283; OKLCH L 68.9% C 0.252 H 317.9°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#D856FD
RGBrgb(216, 86, 253)
HSLhsl(287, 98%, 66%)
HSVhsv(287, 66%, 99%)
CMYKcmyk(14.6%, 66%, 0%, 0.8%)
CIE-LABlab(60.20, 73.48, -60.25)
CIE-LCHlch(60.20, 95.02, 320.65°)
OKLaboklab(68.89% 0.187 -0.1689)
OKLCHoklch(68.89% 0.252 317.9)
XYZxyz(49.3738, 28.3485, 95.7805)
Luminance0.2835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D856FD #7BFD56
analogous
#8556FD #D856FD #FD56CE
triadic
#D856FD #FDD856 #56FDD8
tetradic
#D856FD #FD8556 #7BFD56 #56CEFD
square
#D856FD #FD8556 #7BFD56 #56CEFD
split-complementary
#D856FD #CEFD56 #56FD85
monochromatic
#A703D6 #CA1AFC #D856FD #E692FE #F4CFFE

Accessibility & contrast

On white

3.15
#D856FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#D856FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D856FD
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D856FD#FFFFFF#000000##000000
##D856FD1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0489FF
Deuteranopia (green-blind)
#5D95F9
Tritanopia (blue-blind)
#D775A3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d856fd;
/* rgb */ color: rgb(216, 86, 253);
/* oklch */ color: oklch(68.9% 0.252 317.9);
Tailwind
colors: {
  custom: {
    50: '#e88fff',
    500: '#d856fd',
    950: '#000000',
  },
}
SCSS
$custom: #d856fd;
$custom-light: #e88fff;
$custom-dark: #000000;
JSON
{
  "hex": "#d856fd",
  "rgb": {
    "r": 216,
    "g": 86,
    "b": 253
  },
  "hsl": {
    "h": 286.707,
    "s": 97.661,
    "l": 66.471
  },
  "oklch": {
    "l": 0.68889,
    "c": 0.25195,
    "h": 317.9
  },
  "luminance": 0.28346
}

Semantic roles & 50–950 ramp

primary
#D856FD
secondary
#C8F2BC
accent
#E60033
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#170D18
muted
#857E86

Preview Lab

Preview with #D856FD

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

Preview Lab → · Contrast checker → · Palette generator →

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