#D866CD#D866CD

#D866CD is a light, vivid purple. Relative luminance 0.285; OKLCH L 68.2% C 0.188 H 331.2°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#D866CD
RGBrgb(216, 102, 205)
HSLhsl(306, 59%, 62%)
HSVhsv(306, 53%, 85%)
CMYKcmyk(0%, 52.8%, 5.1%, 15.3%)
CIE-LABlab(60.35, 57.96, -33.17)
CIE-LCHlch(60.35, 66.78, 330.22°)
OKLaboklab(68.22% 0.1648 -0.0906)
OKLCHoklch(68.22% 0.188 331.2)
XYZxyz(44.0895, 28.5123, 60.9270)
Luminance0.2851 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866CD #66D871
analogous
#AA66D8 #D866CD #D86694
triadic
#D866CD #CDD866 #66CDD8
tetradic
#D866CD #D8AA66 #66D871 #6694D8
square
#D866CD #D8AA66 #66D871 #6694D8
split-complementary
#D866CD #94D866 #66D8AA
monochromatic
#9C2891 #CC35BD #D866CD #E497DD #F1C8ED

Accessibility & contrast

On white

3.13
#D866CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#D866CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D866CD
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866CD#FFFFFF#000000##000000
##D866CD1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187D0
Deuteranopia (green-blind)
#8397CA
Tritanopia (blue-blind)
#E06F90
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d866cd;
/* rgb */ color: rgb(216, 102, 205);
/* oklch */ color: oklch(68.2% 0.188 331.2);
Tailwind
colors: {
  custom: {
    50: '#e696dc',
    500: '#d866cd',
    950: '#000000',
  },
}
SCSS
$custom: #d866cd;
$custom-light: #e696dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d866cd",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 305.789,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68217,
    "c": 0.18806,
    "h": 331.2
  },
  "luminance": 0.28509
}

Semantic roles & 50–950 ramp

primary
#D866CD
secondary
#B8E2BC
accent
#C72F1E
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D866CD

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

Preview Lab → · Contrast checker → · Palette generator →

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