#D866F5#D866F5

#D866F5 is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.2% C 0.224 H 319.0°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#D866F5
RGBrgb(216, 102, 245)
HSLhsl(288, 88%, 68%)
HSVhsv(288, 58%, 96%)
CMYKcmyk(11.8%, 58.4%, 0%, 3.9%)
CIE-LABlab(62.25, 65.13, -52.56)
CIE-LCHlch(62.25, 83.69, 321.09°)
OKLaboklab(70.23% 0.1689 -0.1466)
OKLCHoklch(70.23% 0.224 319)
XYZxyz(49.5496, 30.6963, 89.6835)
Luminance0.3069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866F5 #83F566
analogous
#9066F5 #D866F5 #F566CB
triadic
#D866F5 #F5D866 #66F5D8
tetradic
#D866F5 #F59066 #83F566 #66CBF5
square
#D866F5 #F59066 #83F566 #66CBF5
split-complementary
#D866F5 #CBF566 #66F590
monochromatic
#AB0ED3 #C92DF1 #D866F5 #E79FF9 #F5D9FD

Accessibility & contrast

On white

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

On black

7.14
#D866F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D866F5
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866F5#FFFFFF#000000##000000
##D866F51.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#448FF9
Deuteranopia (green-blind)
#6F9AF1
Tritanopia (blue-blind)
#D87DA4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d866f5;
/* rgb */ color: rgb(216, 102, 245);
/* oklch */ color: oklch(70.2% 0.224 319.0);
Tailwind
colors: {
  custom: {
    50: '#e797f9',
    500: '#d866f5',
    950: '#000000',
  },
}
SCSS
$custom: #d866f5;
$custom-light: #e797f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d866f5",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 245
  },
  "hsl": {
    "h": 287.832,
    "s": 87.73,
    "l": 68.039
  },
  "oklch": {
    "l": 0.7023,
    "c": 0.2236,
    "h": 319
  },
  "luminance": 0.30694
}

Semantic roles & 50–950 ramp

primary
#D866F5
secondary
#CEF1C6
accent
#E4012F
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D866F5

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

Preview Lab → · Contrast checker → · Palette generator →

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