#D866ED#D866ED

#D866ED is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 69.8% C 0.216 H 321.2°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#D866ED
RGBrgb(216, 102, 237)
HSLhsl(291, 79%, 66%)
HSVhsv(291, 57%, 93%)
CMYKcmyk(8.9%, 57%, 0%, 7.1%)
CIE-LABlab(61.84, 63.62, -48.77)
CIE-LCHlch(61.84, 80.17, 322.53°)
OKLaboklab(69.8% 0.1684 -0.1355)
OKLCHoklch(69.8% 0.216 321.2)
XYZxyz(48.3546, 30.2184, 83.3900)
Luminance0.3022 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866ED #7BED66
analogous
#9566ED #D866ED #ED66BE
triadic
#D866ED #EDD866 #66EDD8
tetradic
#D866ED #ED9566 #7BED66 #66BEED
square
#D866ED #ED9566 #7BED66 #66BEED
split-complementary
#D866ED #BEED66 #66ED95
monochromatic
#A717C2 #CA2FE7 #D866ED #E69DF3 #F4D4FA

Accessibility & contrast

On white

2.98
#D866ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#D866ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D866ED
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866ED#FFFFFF#000000##000000
##D866ED1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8DF1
Deuteranopia (green-blind)
#749AE9
Tritanopia (blue-blind)
#DA7AA0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d866ed;
/* rgb */ color: rgb(216, 102, 237);
/* oklch */ color: oklch(69.8% 0.216 321.2);
Tailwind
colors: {
  custom: {
    50: '#e797f3',
    500: '#d866ed',
    950: '#000000',
  },
}
SCSS
$custom: #d866ed;
$custom-light: #e797f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d866ed",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 237
  },
  "hsl": {
    "h": 290.667,
    "s": 78.947,
    "l": 66.471
  },
  "oklch": {
    "l": 0.698,
    "c": 0.2162,
    "h": 321.2
  },
  "luminance": 0.30216
}

Semantic roles & 50–950 ramp

primary
#D866ED
secondary
#C8EDC2
accent
#DB0A2B
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D866ED

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

Preview Lab → · Contrast checker → · Palette generator →

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