#D866F2#D866F2

#D866F2 is a light, highly saturated purple. Relative luminance 0.305; OKLCH L 70.1% C 0.221 H 319.8°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#D866F2
RGBrgb(216, 102, 242)
HSLhsl(289, 84%, 67%)
HSVhsv(289, 58%, 95%)
CMYKcmyk(10.7%, 57.9%, 0%, 5.1%)
CIE-LABlab(62.10, 64.56, -51.15)
CIE-LCHlch(62.10, 82.36, 321.61°)
OKLaboklab(70.07% 0.1687 -0.1424)
OKLCHoklch(70.07% 0.221 319.8)
XYZxyz(49.0953, 30.5146, 87.2910)
Luminance0.3051 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866F2 #80F266
analogous
#9266F2 #D866F2 #F266C6
triadic
#D866F2 #F2D866 #66F2D8
tetradic
#D866F2 #F29266 #80F266 #66C6F2
square
#D866F2 #F29266 #80F266 #66C6F2
split-complementary
#D866F2 #C6F266 #66F292
monochromatic
#AA11CC #CA2EED #D866F2 #E69EF7 #F5D7FC

Accessibility & contrast

On white

2.96
#D866F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#D866F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D866F2
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866F2#FFFFFF#000000##000000
##D866F21.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#478EF6
Deuteranopia (green-blind)
#719AEE
Tritanopia (blue-blind)
#D97CA3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d866f2;
/* rgb */ color: rgb(216, 102, 242);
/* oklch */ color: oklch(70.1% 0.221 319.8);
Tailwind
colors: {
  custom: {
    50: '#e797f7',
    500: '#d866f2',
    950: '#000000',
  },
}
SCSS
$custom: #d866f2;
$custom-light: #e797f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d866f2",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 288.857,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.70068,
    "c": 0.22081,
    "h": 319.8
  },
  "luminance": 0.30512
}

Semantic roles & 50–950 ramp

primary
#D866F2
secondary
#CCF0C4
accent
#E1052E
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D866F2

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

Preview Lab → · Contrast checker → · Palette generator →

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