#D866F9#D866F9

#D866F9 is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.5% C 0.227 H 318.0°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#D866F9
RGBrgb(216, 102, 249)
HSLhsl(287, 92%, 69%)
HSVhsv(287, 59%, 98%)
CMYKcmyk(13.3%, 59%, 0%, 2.4%)
CIE-LABlab(62.46, 65.89, -54.44)
CIE-LCHlch(62.46, 85.47, 320.43°)
OKLaboklab(70.45% 0.169 -0.152)
OKLCHoklch(70.45% 0.227 318)
XYZxyz(50.1668, 30.9432, 92.9342)
Luminance0.3094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866F9 #87F966
analogous
#8F66F9 #D866F9 #F966D0
triadic
#D866F9 #F9D866 #66F9D8
tetradic
#D866F9 #F98F66 #87F966 #66D0F9
square
#D866F9 #F98F66 #87F966 #66D0F9
split-complementary
#D866F9 #D0F966 #66F98F
monochromatic
#AD09DC #C92BF7 #D866F9 #E7A1FB #F6DCFE

Accessibility & contrast

On white

2.92
#D866F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#D866F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D866F9
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866F9#FFFFFF#000000##000000
##D866F91.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F90FE
Deuteranopia (green-blind)
#6C9BF5
Tritanopia (blue-blind)
#D77EA6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d866f9;
/* rgb */ color: rgb(216, 102, 249);
/* oklch */ color: oklch(70.5% 0.227 318.0);
Tailwind
colors: {
  custom: {
    50: '#e797fc',
    500: '#d866f9',
    950: '#000000',
  },
}
SCSS
$custom: #d866f9;
$custom-light: #e797fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d866f9",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 249
  },
  "hsl": {
    "h": 286.531,
    "s": 92.453,
    "l": 68.824
  },
  "oklch": {
    "l": 0.7045,
    "c": 0.22733,
    "h": 318
  },
  "luminance": 0.30941
}

Semantic roles & 50–950 ramp

primary
#D866F9
secondary
#D1F3C8
accent
#E60034
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D866F9

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

Preview Lab → · Contrast checker → · Palette generator →

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