#D866EB#D866EB

#D866EB is a light, highly saturated purple. Relative luminance 0.301; OKLCH L 69.7% C 0.214 H 321.7°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#D866EB
RGBrgb(216, 102, 235)
HSLhsl(291, 77%, 66%)
HSVhsv(291, 57%, 92%)
CMYKcmyk(8.1%, 56.6%, 0%, 7.8%)
CIE-LABlab(61.74, 63.25, -47.82)
CIE-LCHlch(61.74, 79.30, 322.91°)
OKLaboklab(69.69% 0.1683 -0.1328)
OKLCHoklch(69.69% 0.214 321.7)
XYZxyz(48.0640, 30.1021, 81.8597)
Luminance0.3010 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D866EB #79EB66
analogous
#9566EB #D866EB #EB66BB
triadic
#D866EB #EBD866 #66EBD8
tetradic
#D866EB #EB9566 #79EB66 #66BBEB
square
#D866EB #EB9566 #79EB66 #66BBEB
split-complementary
#D866EB #BBEB66 #66EB95
monochromatic
#A619BE #CA30E4 #D866EB #E69CF2 #F4D2F9

Accessibility & contrast

On white

2.99
#D866EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#D866EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D866EB
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D866EB#FFFFFF#000000##000000
##D866EB1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8DEF
Deuteranopia (green-blind)
#759AE7
Tritanopia (blue-blind)
#DA799F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d866eb;
/* rgb */ color: rgb(216, 102, 235);
/* oklch */ color: oklch(69.7% 0.214 321.7);
Tailwind
colors: {
  custom: {
    50: '#e797f2',
    500: '#d866eb',
    950: '#000000',
  },
}
SCSS
$custom: #d866eb;
$custom-light: #e797f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d866eb",
  "rgb": {
    "r": 216,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 291.429,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69695,
    "c": 0.21437,
    "h": 321.7
  },
  "luminance": 0.301
}

Semantic roles & 50–950 ramp

primary
#D866EB
secondary
#C7ECC1
accent
#D90C2A
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D866EB

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

Preview Lab → · Contrast checker → · Palette generator →

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