#D862EF#D862EF

#D862EF is a light, highly saturated purple. Relative luminance 0.296; OKLCH L 69.4% C 0.224 H 320.8°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#D862EF
RGBrgb(216, 98, 239)
HSLhsl(290, 82%, 66%)
HSVhsv(290, 59%, 94%)
CMYKcmyk(9.6%, 59%, 0%, 6.3%)
CIE-LABlab(61.28, 65.80, -50.78)
CIE-LCHlch(61.28, 83.11, 322.34°)
OKLaboklab(69.42% 0.1734 -0.1413)
OKLCHoklch(69.42% 0.224 320.8)
XYZxyz(48.2648, 29.5686, 84.8096)
Luminance0.2957 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862EF #79EF62
analogous
#9162EF #D862EF #EF62BF
triadic
#D862EF #EFD862 #62EFD8
tetradic
#D862EF #EF9162 #79EF62 #62BFEF
square
#D862EF #EF9162 #79EF62 #62BFEF
split-complementary
#D862EF #BFEF62 #62EF91
monochromatic
#A614C3 #CA2AE9 #D862EF #E69AF5 #F4D1FA

Accessibility & contrast

On white

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

On black

6.91
#D862EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862EF
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862EF#FFFFFF#000000##000000
##D862EF1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#438CF3
Deuteranopia (green-blind)
#7098EB
Tritanopia (blue-blind)
#DA78A0
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d862ef;
/* rgb */ color: rgb(216, 98, 239);
/* oklch */ color: oklch(69.4% 0.224 320.8);
Tailwind
colors: {
  custom: {
    50: '#e795f5',
    500: '#d862ef',
    950: '#000000',
  },
}
SCSS
$custom: #d862ef;
$custom-light: #e795f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d862ef",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 290.213,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69423,
    "c": 0.22372,
    "h": 320.8
  },
  "luminance": 0.29566
}

Semantic roles & 50–950 ramp

primary
#D862EF
secondary
#C7EEBF
accent
#DE082B
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D862EF

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

Preview Lab → · Contrast checker → · Palette generator →

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