#D866CE#D866CE

#D866CE is a light, vivid purple. Relative luminance 0.286; OKLCH L 68.3% C 0.189 H 330.8°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#D866CE
RGBrgb(216, 102, 206)
HSLhsl(305, 59%, 62%)
HSVhsv(305, 53%, 85%)
CMYKcmyk(0%, 52.8%, 4.6%, 15.3%)
CIE-LABlab(60.39, 58.13, -33.67)
CIE-LCHlch(60.39, 67.18, 329.92°)
OKLaboklab(68.26% 0.165 -0.092)
OKLCHoklch(68.26% 0.189 330.8)
XYZxyz(44.2105, 28.5607, 61.5647)
Luminance0.2856 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866CE #66D870
analogous
#A966D8 #D866CE #D86695
triadic
#D866CE #CED866 #66CED8
tetradic
#D866CE #D8A966 #66D870 #6695D8
square
#D866CE #D8A966 #66D870 #6695D8
split-complementary
#D866CE #95D866 #66D8A9
monochromatic
#9C2892 #CC35BE #D866CE #E497DE #F1C8ED

Accessibility & contrast

On white

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

On black

6.71
#D866CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D866CE
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866CE#FFFFFF#000000##000000
##D866CE1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6088D1
Deuteranopia (green-blind)
#8397CB
Tritanopia (blue-blind)
#DF7091
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d866ce;
/* rgb */ color: rgb(216, 102, 206);
/* oklch */ color: oklch(68.3% 0.189 330.8);
Tailwind
colors: {
  custom: {
    50: '#e696dd',
    500: '#d866ce',
    950: '#000000',
  },
}
SCSS
$custom: #d866ce;
$custom-light: #e696dd;
$custom-dark: #000000;
JSON
{
  "hex": "#d866ce",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 305.263,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68263,
    "c": 0.18889,
    "h": 330.8
  },
  "luminance": 0.28558
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D866CE

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

Preview Lab → · Contrast checker → · Palette generator →

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