#D861EB#D861EB

#D861EB is a light, highly saturated purple. Relative luminance 0.291; OKLCH L 69.1% C 0.222 H 321.9°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#D861EB
RGBrgb(216, 97, 235)
HSLhsl(292, 78%, 65%)
HSVhsv(292, 59%, 92%)
CMYKcmyk(8.1%, 58.7%, 0%, 7.8%)
CIE-LABlab(60.91, 65.51, -49.13)
CIE-LCHlch(60.91, 81.89, 323.13°)
OKLaboklab(69.09% 0.1744 -0.1365)
OKLCHoklch(69.09% 0.222 321.9)
XYZxyz(47.5874, 29.1488, 81.7008)
Luminance0.2915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D861EB #74EB61
analogous
#9361EB #D861EB #EB61B9
triadic
#D861EB #EBD861 #61EBD8
tetradic
#D861EB #EB9361 #74EB61 #61B9EB
square
#D861EB #EB9361 #74EB61 #61B9EB
split-complementary
#D861EB #B9EB61 #61EB93
monochromatic
#A418BA #CB2BE4 #D861EB #E597F2 #F3CEF9

Accessibility & contrast

On white

3.08
#D861EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#D861EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D861EB
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D861EB#FFFFFF#000000##000000
##D861EB1.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#458AEF
Deuteranopia (green-blind)
#7198E7
Tritanopia (blue-blind)
#DA769D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d861eb;
/* rgb */ color: rgb(216, 97, 235);
/* oklch */ color: oklch(69.1% 0.222 321.9);
Tailwind
colors: {
  custom: {
    50: '#e794f2',
    500: '#d861eb',
    950: '#000000',
  },
}
SCSS
$custom: #d861eb;
$custom-light: #e794f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d861eb",
  "rgb": {
    "r": 216,
    "g": 97,
    "b": 235
  },
  "hsl": {
    "h": 291.739,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.6909,
    "c": 0.22152,
    "h": 321.9
  },
  "luminance": 0.29146
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D861EB

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

Preview Lab → · Contrast checker → · Palette generator →

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