#D861EF#D861EF

#D861EF is a light, highly saturated purple. Relative luminance 0.294; OKLCH L 69.3% C 0.225 H 320.9°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#D861EF
RGBrgb(216, 97, 239)
HSLhsl(290, 82%, 66%)
HSVhsv(290, 59%, 94%)
CMYKcmyk(9.6%, 59.4%, 0%, 6.3%)
CIE-LABlab(61.12, 66.24, -51.03)
CIE-LCHlch(61.12, 83.62, 322.39°)
OKLaboklab(69.31% 0.1746 -0.1421)
OKLCHoklch(69.31% 0.225 320.9)
XYZxyz(48.1718, 29.3826, 84.7786)
Luminance0.2938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D861EF #78EF61
analogous
#9161EF #D861EF #EF61BF
triadic
#D861EF #EFD861 #61EFD8
tetradic
#D861EF #EF9161 #78EF61 #61BFEF
square
#D861EF #EF9161 #78EF61 #61BFEF
split-complementary
#D861EF #BFEF61 #61EF91
monochromatic
#A614C2 #CA29E9 #D861EF #E699F5 #F3D0FA

Accessibility & contrast

On white

3.05
#D861EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#D861EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D861EF
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D861EF#FFFFFF#000000##000000
##D861EF1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#418BF3
Deuteranopia (green-blind)
#6F98EB
Tritanopia (blue-blind)
#DA779F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d861ef;
/* rgb */ color: rgb(216, 97, 239);
/* oklch */ color: oklch(69.3% 0.225 320.9);
Tailwind
colors: {
  custom: {
    50: '#e794f5',
    500: '#d861ef',
    950: '#000000',
  },
}
SCSS
$custom: #d861ef;
$custom-light: #e794f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d861ef",
  "rgb": {
    "r": 216,
    "g": 97,
    "b": 239
  },
  "hsl": {
    "h": 290.282,
    "s": 81.609,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69305,
    "c": 0.22511,
    "h": 320.9
  },
  "luminance": 0.2938
}

Semantic roles & 50–950 ramp

primary
#D861EF
secondary
#C6EDBE
accent
#DE082A
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D861EF

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

Preview Lab → · Contrast checker → · Palette generator →

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