#D866D2#D866D2

#D866D2 is a light, vivid purple. Relative luminance 0.288; OKLCH L 68.5% C 0.192 H 329.5°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#D866D2
RGBrgb(216, 102, 210)
HSLhsl(303, 59%, 62%)
HSVhsv(303, 53%, 85%)
CMYKcmyk(0%, 52.8%, 2.8%, 15.3%)
CIE-LABlab(60.57, 58.81, -35.66)
CIE-LCHlch(60.57, 68.77, 328.77°)
OKLaboklab(68.45% 0.1656 -0.0977)
OKLCHoklch(68.45% 0.192 329.5)
XYZxyz(44.7027, 28.7576, 64.1565)
Luminance0.2875 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866D2 #66D86C
analogous
#A566D8 #D866D2 #D86699
triadic
#D866D2 #D2D866 #66D2D8
tetradic
#D866D2 #D8A566 #66D86C #6699D8
square
#D866D2 #D8A566 #66D86C #6699D8
split-complementary
#D866D2 #99D866 #66D8A5
monochromatic
#9C2896 #CC35C4 #D866D2 #E497E0 #F1C8EF

Accessibility & contrast

On white

3.11
#D866D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#D866D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D866D2
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866D2#FFFFFF#000000##000000
##D866D21.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E88D6
Deuteranopia (green-blind)
#8198CF
Tritanopia (blue-blind)
#DF7193
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d866d2;
/* rgb */ color: rgb(216, 102, 210);
/* oklch */ color: oklch(68.5% 0.192 329.5);
Tailwind
colors: {
  custom: {
    50: '#e796e0',
    500: '#d866d2',
    950: '#000000',
  },
}
SCSS
$custom: #d866d2;
$custom-light: #e796e0;
$custom-dark: #000000;
JSON
{
  "hex": "#d866d2",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 210
  },
  "hsl": {
    "h": 303.158,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6845,
    "c": 0.19225,
    "h": 329.5
  },
  "luminance": 0.28755
}

Semantic roles & 50–950 ramp

primary
#D866D2
secondary
#B8E2BA
accent
#C7271E
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D866D2

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

Preview Lab → · Contrast checker → · Palette generator →

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