#D866F6#D866F6

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

Color values

HEX#D866F6
RGBrgb(216, 102, 246)
HSLhsl(288, 89%, 68%)
HSVhsv(288, 59%, 96%)
CMYKcmyk(12.2%, 58.5%, 0%, 3.5%)
CIE-LABlab(62.30, 65.31, -53.03)
CIE-LCHlch(62.30, 84.13, 320.93°)
OKLaboklab(70.29% 0.1689 -0.1479)
OKLCHoklch(70.29% 0.225 318.8)
XYZxyz(49.7026, 30.7576, 90.4896)
Luminance0.3075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866F6 #84F666
analogous
#9066F6 #D866F6 #F666CC
triadic
#D866F6 #F6D866 #66F6D8
tetradic
#D866F6 #F69066 #84F666 #66CCF6
square
#D866F6 #F69066 #84F666 #66CCF6
split-complementary
#D866F6 #CCF666 #66F690
monochromatic
#AB0DD5 #C92CF3 #D866F6 #E7A0F9 #F5DAFD

Accessibility & contrast

On white

2.94
#D866F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#D866F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D866F6
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866F6#FFFFFF#000000##000000
##D866F61.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#438FFB
Deuteranopia (green-blind)
#6E9AF2
Tritanopia (blue-blind)
#D87DA5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d866f6;
/* rgb */ color: rgb(216, 102, 246);
/* oklch */ color: oklch(70.3% 0.225 318.8);
Tailwind
colors: {
  custom: {
    50: '#e797fa',
    500: '#d866f6',
    950: '#000000',
  },
}
SCSS
$custom: #d866f6;
$custom-light: #e797fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d866f6",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 246
  },
  "hsl": {
    "h": 287.5,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70285,
    "c": 0.22453,
    "h": 318.8
  },
  "luminance": 0.30755
}

Semantic roles & 50–950 ramp

primary
#D866F6
secondary
#CFF2C6
accent
#E60030
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D866F6

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

Preview Lab → · Contrast checker → · Palette generator →

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