#E866EC#E866EC

#E866EC is a light, highly saturated purple. Relative luminance 0.327; OKLCH L 71.8% C 0.223 H 326.4°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#E866EC
RGBrgb(232, 102, 236)
HSLhsl(298, 78%, 66%)
HSVhsv(298, 57%, 93%)
CMYKcmyk(1.7%, 56.8%, 0%, 7.5%)
CIE-LABlab(63.93, 67.45, -44.78)
CIE-LCHlch(63.93, 80.96, 326.42°)
OKLaboklab(71.75% 0.1862 -0.1236)
OKLCHoklch(71.75% 0.223 326.4)
XYZxyz(53.1694, 32.7178, 82.8553)
Luminance0.3271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E866EC #6AEC66
analogous
#A566EC #E866EC #EC66AD
triadic
#E866EC #ECE866 #66ECE8
tetradic
#E866EC #ECA566 #6AEC66 #66ADEC
square
#E866EC #ECA566 #6AEC66 #66ADEC
split-complementary
#E866EC #ADEC66 #66ECA5
monochromatic
#BB18C0 #E030E5 #E866EC #F09CF3 #F8D3FA

Accessibility & contrast

On white

2.78
#E866EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#E866EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E866EC
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E866EC#FFFFFF#000000##000000
##E866EC1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5590F0
Deuteranopia (green-blind)
#81A1E8
Tritanopia (blue-blind)
#EE77A0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #e866ec;
/* rgb */ color: rgb(232, 102, 236);
/* oklch */ color: oklch(71.8% 0.223 326.4);
Tailwind
colors: {
  custom: {
    50: '#f298f2',
    500: '#e866ec',
    950: '#000000',
  },
}
SCSS
$custom: #e866ec;
$custom-light: #f298f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e866ec",
  "rgb": {
    "r": 232,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 298.209,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71751,
    "c": 0.22348,
    "h": 326.4
  },
  "luminance": 0.32715
}

Semantic roles & 50–950 ramp

primary
#E866EC
secondary
#C2EDC1
accent
#DA0B12
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#170E17
muted
#857E85

Preview Lab

Preview with #E866EC

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

Preview Lab → · Contrast checker → · Palette generator →

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