#D866FC#D866FC

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

Color values

HEX#D866FC
RGBrgb(216, 102, 252)
HSLhsl(286, 96%, 69%)
HSVhsv(286, 60%, 99%)
CMYKcmyk(14.3%, 59.5%, 0%, 1.2%)
CIE-LABlab(62.62, 66.46, -55.84)
CIE-LCHlch(62.62, 86.81, 319.96°)
OKLaboklab(70.62% 0.1691 -0.1561)
OKLCHoklch(70.62% 0.23 317.3)
XYZxyz(50.6384, 31.1319, 95.4182)
Luminance0.3113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866FC #8AFC66
analogous
#8D66FC #D866FC #FC66D5
triadic
#D866FC #FCD866 #66FCD8
tetradic
#D866FC #FC8D66 #8AFC66 #66D5FC
square
#D866FC #FC8D66 #8AFC66 #66D5FC
split-complementary
#D866FC #D5FC66 #66FC8D
monochromatic
#AE04E3 #C92AFB #D866FC #E7A2FD #F7DEFE

Accessibility & contrast

On white

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

On black

7.23
#D866FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D866FC
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866FC#FFFFFF#000000##000000
##D866FC1.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C90FF
Deuteranopia (green-blind)
#6A9BF8
Tritanopia (blue-blind)
#D77FA8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d866fc;
/* rgb */ color: rgb(216, 102, 252);
/* oklch */ color: oklch(70.6% 0.230 317.3);
Tailwind
colors: {
  custom: {
    50: '#e797fe',
    500: '#d866fc',
    950: '#000000',
  },
}
SCSS
$custom: #d866fc;
$custom-light: #e797fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d866fc",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 285.6,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70618,
    "c": 0.23013,
    "h": 317.3
  },
  "luminance": 0.3113
}

Semantic roles & 50–950 ramp

primary
#D866FC
secondary
#D4F5C9
accent
#E60037
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D866FC

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

Preview Lab → · Contrast checker → · Palette generator →

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