#E166EC#E166EC

#E166EC is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 70.9% C 0.220 H 324.3°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#E166EC
RGBrgb(225, 102, 236)
HSLhsl(295, 78%, 66%)
HSVhsv(295, 57%, 93%)
CMYKcmyk(4.7%, 56.8%, 0%, 7.5%)
CIE-LABlab(62.99, 65.69, -46.33)
CIE-LCHlch(62.99, 80.39, 324.80°)
OKLaboklab(70.87% 0.1785 -0.1282)
OKLCHoklch(70.87% 0.22 324.3)
XYZxyz(50.9417, 31.5692, 82.7508)
Luminance0.3157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166EC #71EC66
analogous
#9E66EC #E166EC #EC66B4
triadic
#E166EC #ECE166 #66ECE1
tetradic
#E166EC #EC9E66 #71EC66 #66B4EC
square
#E166EC #EC9E66 #71EC66 #66B4EC
split-complementary
#E166EC #B4EC66 #66EC9E
monochromatic
#B218C0 #D630E5 #E166EC #EC9CF3 #F6D3FA

Accessibility & contrast

On white

2.87
#E166EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#E166EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166EC
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166EC#FFFFFF#000000##000000
##E166EC1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#518FF0
Deuteranopia (green-blind)
#7B9EE8
Tritanopia (blue-blind)
#E578A0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #e166ec;
/* rgb */ color: rgb(225, 102, 236);
/* oklch */ color: oklch(70.9% 0.220 324.3);
Tailwind
colors: {
  custom: {
    50: '#ed98f2',
    500: '#e166ec',
    950: '#000000',
  },
}
SCSS
$custom: #e166ec;
$custom-light: #ed98f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e166ec",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 295.075,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70866,
    "c": 0.21979,
    "h": 324.3
  },
  "luminance": 0.31566
}

Semantic roles & 50–950 ramp

primary
#E166EC
secondary
#C5EDC1
accent
#DA0B1C
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E17
muted
#857E85

Preview Lab

Preview with #E166EC

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

Preview Lab → · Contrast checker → · Palette generator →

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