#D866CC#D866CC

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

Color values

HEX#D866CC
RGBrgb(216, 102, 204)
HSLhsl(306, 59%, 62%)
HSVhsv(306, 53%, 85%)
CMYKcmyk(0%, 52.8%, 5.6%, 15.3%)
CIE-LABlab(60.31, 57.79, -32.67)
CIE-LCHlch(60.31, 66.39, 330.52°)
OKLaboklab(68.17% 0.1646 -0.0892)
OKLCHoklch(68.17% 0.187 331.6)
XYZxyz(43.9691, 28.4642, 60.2933)
Luminance0.2846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866CC #66D872
analogous
#AB66D8 #D866CC #D86693
triadic
#D866CC #CCD866 #66CCD8
tetradic
#D866CC #D8AB66 #66D872 #6693D8
square
#D866CC #D8AB66 #66D872 #6693D8
split-complementary
#D866CC #93D866 #66D8AB
monochromatic
#9C2890 #CC35BC #D866CC #E497DC #F1C8ED

Accessibility & contrast

On white

3.14
#D866CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#D866CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D866CC
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866CC#FFFFFF#000000##000000
##D866CC1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187CF
Deuteranopia (green-blind)
#8497C9
Tritanopia (blue-blind)
#E06F90
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d866cc;
/* rgb */ color: rgb(216, 102, 204);
/* oklch */ color: oklch(68.2% 0.187 331.6);
Tailwind
colors: {
  custom: {
    50: '#e696dc',
    500: '#d866cc',
    950: '#000000',
  },
}
SCSS
$custom: #d866cc;
$custom-light: #e696dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d866cc",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 306.316,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68172,
    "c": 0.18723,
    "h": 331.6
  },
  "luminance": 0.28461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D866CC

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

Preview Lab → · Contrast checker → · Palette generator →

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