#E866DC#E866DC

#E866DC is a light, highly saturated purple. Relative luminance 0.318; OKLCH L 71.0% C 0.210 H 331.2°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#E866DC
RGBrgb(232, 102, 220)
HSLhsl(306, 74%, 65%)
HSVhsv(306, 56%, 91%)
CMYKcmyk(0%, 56%, 5.2%, 9%)
CIE-LABlab(63.20, 64.78, -37.01)
CIE-LCHlch(63.20, 74.60, 330.26°)
OKLaboklab(70.98% 0.1844 -0.1012)
OKLCHoklch(70.98% 0.21 331.2)
XYZxyz(50.9481, 31.8293, 71.1565)
Luminance0.3183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E866DC #66E872
analogous
#B366E8 #E866DC #E8669B
triadic
#E866DC #DCE866 #66DCE8
tetradic
#E866DC #E8B366 #66E872 #669BE8
square
#E866DC #E8B366 #66E872 #669BE8
split-complementary
#E866DC #9BE866 #66E8B3
monochromatic
#B81CAA #E031D0 #E866DC #F09BE8 #F8D0F4

Accessibility & contrast

On white

2.85
#E866DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#E866DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E866DC
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E866DC#FFFFFF#000000##000000
##E866DC1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#608DE0
Deuteranopia (green-blind)
#88A0D8
Tritanopia (blue-blind)
#F07198
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #e866dc;
/* rgb */ color: rgb(232, 102, 220);
/* oklch */ color: oklch(71.0% 0.210 331.2);
Tailwind
colors: {
  custom: {
    50: '#f298e7',
    500: '#e866dc',
    950: '#000000',
  },
}
SCSS
$custom: #e866dc;
$custom-light: #f298e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e866dc",
  "rgb": {
    "r": 232,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 305.538,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70979,
    "c": 0.21033,
    "h": 331.2
  },
  "luminance": 0.31826
}

Semantic roles & 50–950 ramp

primary
#E866DC
secondary
#BFEBC3
accent
#D62210
background
#FFF9FE
surface
#FFF2FC
border
#D7CCD5
text
#170E16
muted
#857E84

Preview Lab

Preview with #E866DC

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

Preview Lab → · Contrast checker → · Palette generator →

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