#D866CA#D866CA

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

Color values

HEX#D866CA
RGBrgb(216, 102, 202)
HSLhsl(307, 59%, 62%)
HSVhsv(307, 53%, 85%)
CMYKcmyk(0%, 52.8%, 6.5%, 15.3%)
CIE-LABlab(60.22, 57.46, -31.67)
CIE-LCHlch(60.22, 65.61, 331.14°)
OKLaboklab(68.08% 0.1643 -0.0863)
OKLCHoklch(68.08% 0.186 332.3)
XYZxyz(43.7308, 28.3688, 59.0381)
Luminance0.2837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866CA #66D874
analogous
#AD66D8 #D866CA #D86691
triadic
#D866CA #CAD866 #66CAD8
tetradic
#D866CA #D8AD66 #66D874 #6691D8
square
#D866CA #D8AD66 #66D874 #6691D8
split-complementary
#D866CA #91D866 #66D8AD
monochromatic
#9C288E #CC35B9 #D866CA #E497DB #F1C8EC

Accessibility & contrast

On white

3.15
#D866CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#D866CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D866CA
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866CA#FFFFFF#000000##000000
##D866CA1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6287CD
Deuteranopia (green-blind)
#8497C7
Tritanopia (blue-blind)
#E06E8F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #d866ca;
/* rgb */ color: rgb(216, 102, 202);
/* oklch */ color: oklch(68.1% 0.186 332.3);
Tailwind
colors: {
  custom: {
    50: '#e696da',
    500: '#d866ca',
    950: '#000000',
  },
}
SCSS
$custom: #d866ca;
$custom-light: #e696da;
$custom-dark: #000000;
JSON
{
  "hex": "#d866ca",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 202
  },
  "hsl": {
    "h": 307.368,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68081,
    "c": 0.18559,
    "h": 332.3
  },
  "luminance": 0.28366
}

Semantic roles & 50–950 ramp

primary
#D866CA
secondary
#B8E2BD
accent
#C7331E
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160E15
muted
#847E83

Preview Lab

Preview with #D866CA

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

Preview Lab → · Contrast checker → · Palette generator →

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