#D866FE#D866FE

#D866FE is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.7% C 0.232 H 316.8°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#D866FE
RGBrgb(216, 102, 254)
HSLhsl(285, 99%, 70%)
HSVhsv(285, 60%, 100%)
CMYKcmyk(15%, 59.8%, 0%, 0.4%)
CIE-LABlab(62.73, 66.85, -56.77)
CIE-LCHlch(62.73, 87.70, 319.66°)
OKLaboklab(70.73% 0.1691 -0.1588)
OKLCHoklch(70.73% 0.232 316.8)
XYZxyz(50.9570, 31.2593, 97.0962)
Luminance0.3126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866FE #8CFE66
analogous
#8C66FE #D866FE #FE66D8
triadic
#D866FE #FED866 #66FED8
tetradic
#D866FE #FE8C66 #8CFE66 #66D8FE
square
#D866FE #FE8C66 #8CFE66 #66D8FE
split-complementary
#D866FE #D8FE66 #66FE8C
monochromatic
#AE02E8 #C929FE #D866FE #E7A3FE #F7E0FF

Accessibility & contrast

On white

2.90
#D866FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#D866FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D866FE
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866FE#FFFFFF#000000##000000
##D866FE1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3991FF
Deuteranopia (green-blind)
#699BFA
Tritanopia (blue-blind)
#D680A9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d866fe;
/* rgb */ color: rgb(216, 102, 254);
/* oklch */ color: oklch(70.7% 0.232 316.8);
Tailwind
colors: {
  custom: {
    50: '#e797ff',
    500: '#d866fe',
    950: '#000000',
  },
}
SCSS
$custom: #d866fe;
$custom-light: #e797ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d866fe",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 285,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7073,
    "c": 0.23202,
    "h": 316.8
  },
  "luminance": 0.31257
}

Semantic roles & 50–950 ramp

primary
#D866FE
secondary
#D5F5CA
accent
#E60039
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D866FE

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

Preview Lab → · Contrast checker → · Palette generator →

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