#D862E1#D862E1

#D862E1 is a light, highly saturated purple. Relative luminance 0.288; OKLCH L 68.7% C 0.211 H 324.8°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#D862E1
RGBrgb(216, 98, 225)
HSLhsl(296, 68%, 63%)
HSVhsv(296, 56%, 88%)
CMYKcmyk(4%, 56.4%, 0%, 11.8%)
CIE-LABlab(60.58, 63.26, -44.07)
CIE-LCHlch(60.58, 77.10, 325.14°)
OKLaboklab(68.69% 0.1725 -0.1219)
OKLCHoklch(68.69% 0.211 324.8)
XYZxyz(46.2761, 28.7731, 74.3358)
Luminance0.2877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862E1 #6BE162
analogous
#9862E1 #D862E1 #E162AA
triadic
#D862E1 #E1D862 #62E1D8
tetradic
#D862E1 #E19862 #6BE162 #62AAE1
square
#D862E1 #E19862 #6BE162 #62AAE1
split-complementary
#D862E1 #AAE162 #62E198
monochromatic
#9F20A8 #CB2FD7 #D862E1 #E595EB #F2C9F5

Accessibility & contrast

On white

3.11
#D862E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#D862E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862E1
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862E1#FFFFFF#000000##000000
##D862E11.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F89E5
Deuteranopia (green-blind)
#7797DD
Tritanopia (blue-blind)
#DC7399
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d862e1;
/* rgb */ color: rgb(216, 98, 225);
/* oklch */ color: oklch(68.7% 0.211 324.8);
Tailwind
colors: {
  custom: {
    50: '#e794eb',
    500: '#d862e1',
    950: '#000000',
  },
}
SCSS
$custom: #d862e1;
$custom-light: #e794eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d862e1",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 225
  },
  "hsl": {
    "h": 295.748,
    "s": 67.914,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68686,
    "c": 0.21121,
    "h": 324.8
  },
  "luminance": 0.28771
}

Semantic roles & 50–950 ramp

primary
#D862E1
secondary
#BCE6B9
accent
#D01623
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D862E1

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

Preview Lab → · Contrast checker → · Palette generator →

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