#D862E6#D862E6

#D862E6 is a light, highly saturated purple. Relative luminance 0.290; OKLCH L 68.9% C 0.216 H 323.3°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#D862E6
RGBrgb(216, 98, 230)
HSLhsl(294, 73%, 64%)
HSVhsv(294, 57%, 90%)
CMYKcmyk(6.1%, 57.4%, 0%, 9.8%)
CIE-LABlab(60.83, 64.15, -46.48)
CIE-LCHlch(60.83, 79.22, 324.08°)
OKLaboklab(68.95% 0.1729 -0.1289)
OKLCHoklch(68.95% 0.216 323.3)
XYZxyz(46.9681, 29.0499, 77.9808)
Luminance0.2905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862E6 #70E662
analogous
#9662E6 #D862E6 #E662B2
triadic
#D862E6 #E6D862 #62E6D8
tetradic
#D862E6 #E69662 #70E662 #62B2E6
square
#D862E6 #E69662 #70E662 #62B2E6
split-complementary
#D862E6 #B2E662 #62E696
monochromatic
#A21CB1 #CB2DDE #D862E6 #E597EE #F2CCF7

Accessibility & contrast

On white

3.08
#D862E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#D862E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862E6
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862E6#FFFFFF#000000##000000
##D862E61.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8AEA
Deuteranopia (green-blind)
#7598E2
Tritanopia (blue-blind)
#DB759B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d862e6;
/* rgb */ color: rgb(216, 98, 230);
/* oklch */ color: oklch(68.9% 0.216 323.3);
Tailwind
colors: {
  custom: {
    50: '#e795ee',
    500: '#d862e6',
    950: '#000000',
  },
}
SCSS
$custom: #d862e6;
$custom-light: #e795ee;
$custom-dark: #000000;
JSON
{
  "hex": "#d862e6",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 230
  },
  "hsl": {
    "h": 293.636,
    "s": 72.527,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68945,
    "c": 0.21564,
    "h": 323.3
  },
  "luminance": 0.29047
}

Semantic roles & 50–950 ramp

primary
#D862E6
secondary
#C0E9BB
accent
#D51126
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D862E6

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

Preview Lab → · Contrast checker → · Palette generator →

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