#D862ED#D862ED

#D862ED is a light, highly saturated purple. Relative luminance 0.294; OKLCH L 69.3% C 0.222 H 321.4°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#D862ED
RGBrgb(216, 98, 237)
HSLhsl(291, 79%, 66%)
HSVhsv(291, 59%, 93%)
CMYKcmyk(8.9%, 58.6%, 0%, 7.1%)
CIE-LABlab(61.18, 65.43, -49.83)
CIE-LCHlch(61.18, 82.24, 322.71°)
OKLaboklab(69.32% 0.1733 -0.1386)
OKLCHoklch(69.32% 0.222 321.4)
XYZxyz(47.9709, 29.4510, 83.2621)
Luminance0.2945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862ED #77ED62
analogous
#9262ED #D862ED #ED62BD
triadic
#D862ED #EDD862 #62EDD8
tetradic
#D862ED #ED9262 #77ED62 #62BDED
square
#D862ED #ED9262 #77ED62 #62BDED
split-complementary
#D862ED #BDED62 #62ED92
monochromatic
#A516BF #CA2BE7 #D862ED #E699F3 #F3D0FA

Accessibility & contrast

On white

3.05
#D862ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#D862ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862ED
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862ED#FFFFFF#000000##000000
##D862ED1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#458BF1
Deuteranopia (green-blind)
#7198E9
Tritanopia (blue-blind)
#DA779F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d862ed;
/* rgb */ color: rgb(216, 98, 237);
/* oklch */ color: oklch(69.3% 0.222 321.4);
Tailwind
colors: {
  custom: {
    50: '#e795f3',
    500: '#d862ed',
    950: '#000000',
  },
}
SCSS
$custom: #d862ed;
$custom-light: #e795f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d862ed",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 290.935,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69316,
    "c": 0.22191,
    "h": 321.4
  },
  "luminance": 0.29449
}

Semantic roles & 50–950 ramp

primary
#D862ED
secondary
#C5EDBE
accent
#DC0A29
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D862ED

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

Preview Lab → · Contrast checker → · Palette generator →

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