#D866F7#D866F7

#D866F7 is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.3% C 0.225 H 318.5°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#D866F7
RGBrgb(216, 102, 247)
HSLhsl(287, 90%, 68%)
HSVhsv(287, 59%, 97%)
CMYKcmyk(12.6%, 58.7%, 0%, 3.1%)
CIE-LABlab(62.35, 65.51, -53.50)
CIE-LCHlch(62.35, 84.58, 320.76°)
OKLaboklab(70.34% 0.169 -0.1493)
OKLCHoklch(70.34% 0.225 318.5)
XYZxyz(49.8565, 30.8191, 91.3001)
Luminance0.3082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866F7 #85F766
analogous
#8F66F7 #D866F7 #F766CE
triadic
#D866F7 #F7D866 #66F7D8
tetradic
#D866F7 #F78F66 #85F766 #66CEF7
square
#D866F7 #F78F66 #85F766 #66CEF7
split-complementary
#D866F7 #CEF766 #66F78F
monochromatic
#AC0BD7 #C92CF4 #D866F7 #E7A0FA #F6DAFD

Accessibility & contrast

On white

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

On black

7.16
#D866F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D866F7
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866F7#FFFFFF#000000##000000
##D866F71.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#428FFC
Deuteranopia (green-blind)
#6E9BF3
Tritanopia (blue-blind)
#D87EA5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d866f7;
/* rgb */ color: rgb(216, 102, 247);
/* oklch */ color: oklch(70.3% 0.225 318.5);
Tailwind
colors: {
  custom: {
    50: '#e797fa',
    500: '#d866f7',
    950: '#000000',
  },
}
SCSS
$custom: #d866f7;
$custom-light: #e797fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d866f7",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 287.172,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.7034,
    "c": 0.22547,
    "h": 318.5
  },
  "luminance": 0.30817
}

Semantic roles & 50–950 ramp

primary
#D866F7
secondary
#D0F2C7
accent
#E60031
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D866F7

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

Preview Lab → · Contrast checker → · Palette generator →

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