#D866CB#D866CB

#D866CB is a light, vivid purple. Relative luminance 0.284; OKLCH L 68.1% C 0.186 H 331.9°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#D866CB
RGBrgb(216, 102, 203)
HSLhsl(307, 59%, 62%)
HSVhsv(307, 53%, 85%)
CMYKcmyk(0%, 52.8%, 6%, 15.3%)
CIE-LABlab(60.26, 57.63, -32.17)
CIE-LCHlch(60.26, 66.00, 330.83°)
OKLaboklab(68.13% 0.1645 -0.0877)
OKLCHoklch(68.13% 0.186 331.9)
XYZxyz(43.8496, 28.4163, 59.6636)
Luminance0.2841 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866CB #66D873
analogous
#AC66D8 #D866CB #D86692
triadic
#D866CB #CBD866 #66CBD8
tetradic
#D866CB #D8AC66 #66D873 #6692D8
square
#D866CB #D8AC66 #66D873 #6692D8
split-complementary
#D866CB #92D866 #66D8AC
monochromatic
#9C288F #CC35BA #D866CB #E497DC #F1C8EC

Accessibility & contrast

On white

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

On black

6.68
#D866CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D866CB
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866CB#FFFFFF#000000##000000
##D866CB1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6287CE
Deuteranopia (green-blind)
#8497C8
Tritanopia (blue-blind)
#E06F8F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d866cb;
/* rgb */ color: rgb(216, 102, 203);
/* oklch */ color: oklch(68.1% 0.186 331.9);
Tailwind
colors: {
  custom: {
    50: '#e696db',
    500: '#d866cb',
    950: '#000000',
  },
}
SCSS
$custom: #d866cb;
$custom-light: #e696db;
$custom-dark: #000000;
JSON
{
  "hex": "#d866cb",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 306.842,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68126,
    "c": 0.18641,
    "h": 331.9
  },
  "luminance": 0.28413
}

Semantic roles & 50–950 ramp

primary
#D866CB
secondary
#B8E2BD
accent
#C7321E
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D866CB

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

Preview Lab → · Contrast checker → · Palette generator →

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