#D861EC#D861EC

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

Color values

HEX#D861EC
RGBrgb(216, 97, 236)
HSLhsl(291, 79%, 65%)
HSVhsv(291, 59%, 93%)
CMYKcmyk(8.5%, 58.9%, 0%, 7.5%)
CIE-LABlab(60.96, 65.69, -49.61)
CIE-LCHlch(60.96, 82.32, 322.94°)
OKLaboklab(69.14% 0.1745 -0.1379)
OKLCHoklch(69.14% 0.222 321.7)
XYZxyz(47.7323, 29.2068, 82.4638)
Luminance0.2920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D861EC #75EC61
analogous
#9261EC #D861EC #EC61BA
triadic
#D861EC #ECD861 #61ECD8
tetradic
#D861EC #EC9261 #75EC61 #61BAEC
square
#D861EC #EC9261 #75EC61 #61BAEC
split-complementary
#D861EC #BAEC61 #61EC92
monochromatic
#A417BC #CB2AE5 #D861EC #E598F3 #F3CEF9

Accessibility & contrast

On white

3.07
#D861EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#D861EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D861EC
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D861EC#FFFFFF#000000##000000
##D861EC1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AF0
Deuteranopia (green-blind)
#7198E8
Tritanopia (blue-blind)
#DA769E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d861ec;
/* rgb */ color: rgb(216, 97, 236);
/* oklch */ color: oklch(69.1% 0.222 321.7);
Tailwind
colors: {
  custom: {
    50: '#e794f3',
    500: '#d861ec',
    950: '#000000',
  },
}
SCSS
$custom: #d861ec;
$custom-light: #e794f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d861ec",
  "rgb": {
    "r": 216,
    "g": 97,
    "b": 236
  },
  "hsl": {
    "h": 291.367,
    "s": 78.531,
    "l": 65.294
  },
  "oklch": {
    "l": 0.69143,
    "c": 0.22241,
    "h": 321.7
  },
  "luminance": 0.29204
}

Semantic roles & 50–950 ramp

primary
#D861EC
secondary
#C4ECBD
accent
#DB0B29
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D861EC

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

Preview Lab → · Contrast checker → · Palette generator →

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