#D866DF#D866DF

#D866DF is a light, highly saturated purple. Relative luminance 0.294; OKLCH L 69.1% C 0.204 H 325.2°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#D866DF
RGBrgb(216, 102, 223)
HSLhsl(297, 65%, 64%)
HSVhsv(297, 54%, 87%)
CMYKcmyk(3.1%, 54.3%, 0%, 12.5%)
CIE-LABlab(61.16, 61.08, -42.04)
CIE-LCHlch(61.16, 74.14, 325.46°)
OKLaboklab(69.08% 0.1672 -0.116)
OKLCHoklch(69.08% 0.204 325.2)
XYZxyz(46.3885, 29.4319, 73.0352)
Luminance0.2943 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866DF #6DDF66
analogous
#9B66DF #D866DF #DF66A9
triadic
#D866DF #DFD866 #66DFD8
tetradic
#D866DF #DF9B66 #6DDF66 #66A9DF
square
#D866DF #DF9B66 #6DDF66 #66A9DF
split-complementary
#D866DF #A9DF66 #66DF9B
monochromatic
#A023A8 #CB33D4 #D866DF #E599EA #F2CBF4

Accessibility & contrast

On white

3.05
#D866DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#D866DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D866DF
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866DF#FFFFFF#000000##000000
##D866DF1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#568BE3
Deuteranopia (green-blind)
#7B99DC
Tritanopia (blue-blind)
#DD7599
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d866df;
/* rgb */ color: rgb(216, 102, 223);
/* oklch */ color: oklch(69.1% 0.204 325.2);
Tailwind
colors: {
  custom: {
    50: '#e797e9',
    500: '#d866df',
    950: '#000000',
  },
}
SCSS
$custom: #d866df;
$custom-light: #e797e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d866df",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 296.529,
    "s": 65.405,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6908,
    "c": 0.20355,
    "h": 325.2
  },
  "luminance": 0.29429
}

Semantic roles & 50–950 ramp

primary
#D866DF
secondary
#BEE6BB
accent
#CD1823
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D866DF

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

Preview Lab → · Contrast checker → · Palette generator →

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