#D866F3#D866F3

#D866F3 is a light, highly saturated purple. Relative luminance 0.306; OKLCH L 70.1% C 0.222 H 319.6°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#D866F3
RGBrgb(216, 102, 243)
HSLhsl(289, 85%, 68%)
HSVhsv(289, 58%, 95%)
CMYKcmyk(11.1%, 58%, 0%, 4.7%)
CIE-LABlab(62.15, 64.75, -51.62)
CIE-LCHlch(62.15, 82.81, 321.44°)
OKLaboklab(70.12% 0.1688 -0.1438)
OKLCHoklch(70.12% 0.222 319.6)
XYZxyz(49.2459, 30.5749, 88.0842)
Luminance0.3057 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866F3 #81F366
analogous
#9266F3 #D866F3 #F366C7
triadic
#D866F3 #F3D866 #66F3D8
tetradic
#D866F3 #F39266 #81F366 #66C7F3
square
#D866F3 #F39266 #81F366 #66C7F3
split-complementary
#D866F3 #C7F366 #66F392
monochromatic
#AA10CE #CA2DEF #D866F3 #E69FF7 #F5D7FC

Accessibility & contrast

On white

2.95
#D866F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#D866F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D866F3
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866F3#FFFFFF#000000##000000
##D866F31.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#468EF7
Deuteranopia (green-blind)
#709AEF
Tritanopia (blue-blind)
#D97CA3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d866f3;
/* rgb */ color: rgb(216, 102, 243);
/* oklch */ color: oklch(70.1% 0.222 319.6);
Tailwind
colors: {
  custom: {
    50: '#e797f7',
    500: '#d866f3',
    950: '#000000',
  },
}
SCSS
$custom: #d866f3;
$custom-light: #e797f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d866f3",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 243
  },
  "hsl": {
    "h": 288.511,
    "s": 85.455,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70122,
    "c": 0.22174,
    "h": 319.6
  },
  "luminance": 0.30573
}

Semantic roles & 50–950 ramp

primary
#D866F3
secondary
#CDF0C5
accent
#E2042E
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D866F3

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

Preview Lab → · Contrast checker → · Palette generator →

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