#D862EB#D862EB

#D862EB is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 69.2% C 0.220 H 321.9°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#D862EB
RGBrgb(216, 98, 235)
HSLhsl(292, 77%, 65%)
HSVhsv(292, 58%, 92%)
CMYKcmyk(8.1%, 58.3%, 0%, 7.8%)
CIE-LABlab(61.08, 65.06, -48.87)
CIE-LCHlch(61.08, 81.37, 323.09°)
OKLaboklab(69.21% 0.1732 -0.1358)
OKLCHoklch(69.21% 0.22 321.9)
XYZxyz(47.6804, 29.3348, 81.7318)
Luminance0.2933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862EB #75EB62
analogous
#9462EB #D862EB #EB62B9
triadic
#D862EB #EBD862 #62EBD8
tetradic
#D862EB #EB9462 #75EB62 #62B9EB
square
#D862EB #EB9462 #75EB62 #62B9EB
split-complementary
#D862EB #B9EB62 #62EB94
monochromatic
#A418BB #CB2CE4 #D862EB #E598F2 #F3CFF9

Accessibility & contrast

On white

3.06
#D862EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#D862EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862EB
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862EB#FFFFFF#000000##000000
##D862EB1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#478BEF
Deuteranopia (green-blind)
#7298E7
Tritanopia (blue-blind)
#DA769E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d862eb;
/* rgb */ color: rgb(216, 98, 235);
/* oklch */ color: oklch(69.2% 0.220 321.9);
Tailwind
colors: {
  custom: {
    50: '#e795f2',
    500: '#d862eb',
    950: '#000000',
  },
}
SCSS
$custom: #d862eb;
$custom-light: #e795f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d862eb",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 291.679,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.69209,
    "c": 0.22011,
    "h": 321.9
  },
  "luminance": 0.29332
}

Semantic roles & 50–950 ramp

primary
#D862EB
secondary
#C4EBBD
accent
#DA0C28
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D862EB

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

Preview Lab → · Contrast checker → · Palette generator →

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