#D862E5#D862E5

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

Color values

HEX#D862E5
RGBrgb(216, 98, 229)
HSLhsl(294, 72%, 64%)
HSVhsv(294, 57%, 90%)
CMYKcmyk(5.7%, 57.2%, 0%, 10.2%)
CIE-LABlab(60.78, 63.97, -46.00)
CIE-LCHlch(60.78, 78.79, 324.28°)
OKLaboklab(68.89% 0.1728 -0.1275)
OKLCHoklch(68.89% 0.215 323.6)
XYZxyz(46.8281, 28.9939, 77.2433)
Luminance0.2899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862E5 #6FE562
analogous
#9762E5 #D862E5 #E562B1
triadic
#D862E5 #E5D862 #62E5D8
tetradic
#D862E5 #E59762 #6FE562 #62B1E5
square
#D862E5 #E59762 #6FE562 #62B1E5
split-complementary
#D862E5 #B1E562 #62E597
monochromatic
#A11DB0 #CB2DDC #D862E5 #E597EE #F2CBF6

Accessibility & contrast

On white

3.09
#D862E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#D862E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862E5
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862E5#FFFFFF#000000##000000
##D862E51.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8AE9
Deuteranopia (green-blind)
#7597E1
Tritanopia (blue-blind)
#DC749B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d862e5;
/* rgb */ color: rgb(216, 98, 229);
/* oklch */ color: oklch(68.9% 0.215 323.6);
Tailwind
colors: {
  custom: {
    50: '#e795ee',
    500: '#d862e5',
    950: '#000000',
  },
}
SCSS
$custom: #d862e5;
$custom-light: #e795ee;
$custom-dark: #000000;
JSON
{
  "hex": "#d862e5",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 229
  },
  "hsl": {
    "h": 294.046,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68893,
    "c": 0.21475,
    "h": 323.6
  },
  "luminance": 0.28991
}

Semantic roles & 50–950 ramp

primary
#D862E5
secondary
#BFE8BB
accent
#D41225
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D862E5

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

Preview Lab → · Contrast checker → · Palette generator →

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