#D866FB#D866FB

#D866FB is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 70.6% C 0.229 H 317.5°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#D866FB
RGBrgb(216, 102, 251)
HSLhsl(286, 95%, 69%)
HSVhsv(286, 59%, 98%)
CMYKcmyk(13.9%, 59.4%, 0%, 1.6%)
CIE-LABlab(62.57, 66.27, -55.37)
CIE-LCHlch(62.57, 86.36, 320.12°)
OKLaboklab(70.56% 0.1691 -0.1547)
OKLCHoklch(70.56% 0.229 317.5)
XYZxyz(50.4804, 31.0687, 94.5858)
Luminance0.3107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866FB #89FB66
analogous
#8E66FB #D866FB #FB66D4
triadic
#D866FB #FBD866 #66FBD8
tetradic
#D866FB #FB8E66 #89FB66 #66D4FB
square
#D866FB #FB8E66 #89FB66 #66D4FB
split-complementary
#D866FB #D4FB66 #66FB8E
monochromatic
#AD06E1 #C92AF9 #D866FB #E7A2FD #F6DDFE

Accessibility & contrast

On white

2.91
#D866FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#D866FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D866FB
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866FB#FFFFFF#000000##000000
##D866FB1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D90FF
Deuteranopia (green-blind)
#6B9BF7
Tritanopia (blue-blind)
#D77FA7
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d866fb;
/* rgb */ color: rgb(216, 102, 251);
/* oklch */ color: oklch(70.6% 0.229 317.5);
Tailwind
colors: {
  custom: {
    50: '#e797fd',
    500: '#d866fb',
    950: '#000000',
  },
}
SCSS
$custom: #d866fb;
$custom-light: #e797fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d866fb",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 251
  },
  "hsl": {
    "h": 285.906,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70562,
    "c": 0.2292,
    "h": 317.5
  },
  "luminance": 0.31067
}

Semantic roles & 50–950 ramp

primary
#D866FB
secondary
#D3F4C9
accent
#E60036
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D866FB

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

Preview Lab → · Contrast checker → · Palette generator →

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