#D866EF#D866EF

#D866EF is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 69.9% C 0.218 H 320.6°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#D866EF
RGBrgb(216, 102, 239)
HSLhsl(290, 81%, 67%)
HSVhsv(290, 57%, 94%)
CMYKcmyk(9.6%, 57.3%, 0%, 6.3%)
CIE-LABlab(61.94, 64.00, -49.73)
CIE-LCHlch(61.94, 81.04, 322.15°)
OKLaboklab(69.91% 0.1686 -0.1383)
OKLCHoklch(69.91% 0.218 320.6)
XYZxyz(48.6484, 30.3359, 84.9375)
Luminance0.3033 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866EF #7DEF66
analogous
#9466EF #D866EF #EF66C2
triadic
#D866EF #EFD866 #66EFD8
tetradic
#D866EF #EF9466 #7DEF66 #66C2EF
square
#D866EF #EF9466 #7DEF66 #66C2EF
split-complementary
#D866EF #C2EF66 #66EF94
monochromatic
#A815C6 #CA2FE9 #D866EF #E69DF5 #F4D5FB

Accessibility & contrast

On white

2.97
#D866EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#D866EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D866EF
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866EF#FFFFFF#000000##000000
##D866EF1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8EF3
Deuteranopia (green-blind)
#729AEB
Tritanopia (blue-blind)
#DA7BA1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d866ef;
/* rgb */ color: rgb(216, 102, 239);
/* oklch */ color: oklch(69.9% 0.218 320.6);
Tailwind
colors: {
  custom: {
    50: '#e797f5',
    500: '#d866ef',
    950: '#000000',
  },
}
SCSS
$custom: #d866ef;
$custom-light: #e797f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d866ef",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 289.927,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69907,
    "c": 0.21804,
    "h": 320.6
  },
  "luminance": 0.30334
}

Semantic roles & 50–950 ramp

primary
#D866EF
secondary
#CAEEC2
accent
#DD082C
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D866EF

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

Preview Lab → · Contrast checker → · Palette generator →

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