#D856EC#D856EC

#D856EC is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.9% C 0.237 H 322.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#D856EC
RGBrgb(216, 86, 236)
HSLhsl(292, 80%, 63%)
HSVhsv(292, 64%, 93%)
CMYKcmyk(8.5%, 63.6%, 0%, 7.5%)
CIE-LABlab(59.26, 70.38, -52.31)
CIE-LCHlch(59.26, 87.69, 323.38°)
OKLaboklab(67.91% 0.1872 -0.1457)
OKLCHoklch(67.91% 0.237 322.1)
XYZxyz(46.7854, 27.3131, 82.1482)
Luminance0.2731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D856EC #6AEC56
analogous
#8D56EC #D856EC #EC56B5
triadic
#D856EC #ECD856 #56ECD8
tetradic
#D856EC #EC8D56 #6AEC56 #56B5EC
square
#D856EC #EC8D56 #6AEC56 #56B5EC
split-complementary
#D856EC #B5EC56 #56EC8D
monochromatic
#9E14B3 #CB1FE6 #D856EC #E58DF2 #F1C4F8

Accessibility & contrast

On white

3.25
#D856EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#D856EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D856EC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D856EC#FFFFFF#000000##000000
##D856EC1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3185F0
Deuteranopia (green-blind)
#6994E8
Tritanopia (blue-blind)
#DB6E9A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d856ec;
/* rgb */ color: rgb(216, 86, 236);
/* oklch */ color: oklch(67.9% 0.237 322.1);
Tailwind
colors: {
  custom: {
    50: '#e88ef3',
    500: '#d856ec',
    950: '#000000',
  },
}
SCSS
$custom: #d856ec;
$custom-light: #e88ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#d856ec",
  "rgb": {
    "r": 216,
    "g": 86,
    "b": 236
  },
  "hsl": {
    "h": 292,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6791,
    "c": 0.23722,
    "h": 322.1
  },
  "luminance": 0.27311
}

Semantic roles & 50–950 ramp

primary
#D856EC
secondary
#BBEAB4
accent
#DC0925
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D856EC

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

Preview Lab → · Contrast checker → · Palette generator →

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