#D862EE#D862EE

#D862EE is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.4% C 0.223 H 321.1°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#D862EE
RGBrgb(216, 98, 238)
HSLhsl(291, 80%, 66%)
HSVhsv(291, 59%, 93%)
CMYKcmyk(9.2%, 58.8%, 0%, 6.7%)
CIE-LABlab(61.23, 65.61, -50.30)
CIE-LCHlch(61.23, 82.68, 322.53°)
OKLaboklab(69.37% 0.1734 -0.1399)
OKLCHoklch(69.37% 0.223 321.1)
XYZxyz(48.1174, 29.5096, 84.0337)
Luminance0.2951 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862EE #78EE62
analogous
#9262EE #D862EE #EE62BE
triadic
#D862EE #EED862 #62EED8
tetradic
#D862EE #EE9262 #78EE62 #62BEEE
square
#D862EE #EE9262 #78EE62 #62BEEE
split-complementary
#D862EE #BEEE62 #62EE92
monochromatic
#A615C1 #CA2BE8 #D862EE #E699F4 #F3D0FA

Accessibility & contrast

On white

3.04
#D862EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#D862EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862EE
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862EE#FFFFFF#000000##000000
##D862EE1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#448BF2
Deuteranopia (green-blind)
#7098EA
Tritanopia (blue-blind)
#DA779F
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d862ee;
/* rgb */ color: rgb(216, 98, 238);
/* oklch */ color: oklch(69.4% 0.223 321.1);
Tailwind
colors: {
  custom: {
    50: '#e795f4',
    500: '#d862ee',
    950: '#000000',
  },
}
SCSS
$custom: #d862ee;
$custom-light: #e795f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d862ee",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 290.571,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69369,
    "c": 0.22282,
    "h": 321.1
  },
  "luminance": 0.29507
}

Semantic roles & 50–950 ramp

primary
#D862EE
secondary
#C6EDBF
accent
#DD092A
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D862EE

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

Preview Lab → · Contrast checker → · Palette generator →

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