#D866F8#D866F8

#D866F8 is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.4% C 0.226 H 318.3°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#D866F8
RGBrgb(216, 102, 248)
HSLhsl(287, 91%, 69%)
HSVhsv(287, 59%, 97%)
CMYKcmyk(12.9%, 58.9%, 0%, 2.7%)
CIE-LABlab(62.41, 65.70, -53.97)
CIE-LCHlch(62.41, 85.02, 320.60°)
OKLaboklab(70.4% 0.169 -0.1507)
OKLCHoklch(70.4% 0.226 318.3)
XYZxyz(50.0112, 30.8810, 92.1150)
Luminance0.3088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866F8 #86F866
analogous
#8F66F8 #D866F8 #F866CF
triadic
#D866F8 #F8D866 #66F8D8
tetradic
#D866F8 #F88F66 #86F866 #66CFF8
square
#D866F8 #F88F66 #86F866 #66CFF8
split-complementary
#D866F8 #CFF866 #66F88F
monochromatic
#AC0ADA #C92BF5 #D866F8 #E7A1FB #F6DBFD

Accessibility & contrast

On white

2.93
#D866F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#D866F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D866F8
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866F8#FFFFFF#000000##000000
##D866F81.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#418FFD
Deuteranopia (green-blind)
#6D9BF4
Tritanopia (blue-blind)
#D87EA6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d866f8;
/* rgb */ color: rgb(216, 102, 248);
/* oklch */ color: oklch(70.4% 0.226 318.3);
Tailwind
colors: {
  custom: {
    50: '#e797fb',
    500: '#d866f8',
    950: '#000000',
  },
}
SCSS
$custom: #d866f8;
$custom-light: #e797fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d866f8",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 248
  },
  "hsl": {
    "h": 286.849,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70395,
    "c": 0.22639,
    "h": 318.3
  },
  "luminance": 0.30879
}

Semantic roles & 50–950 ramp

primary
#D866F8
secondary
#D1F3C7
accent
#E60032
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D866F8

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

Preview Lab → · Contrast checker → · Palette generator →

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