#E166EA#E166EA

#E166EA is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 70.8% C 0.218 H 324.9°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#E166EA
RGBrgb(225, 102, 234)
HSLhsl(296, 76%, 66%)
HSVhsv(296, 56%, 92%)
CMYKcmyk(3.8%, 56.4%, 0%, 8.2%)
CIE-LABlab(62.89, 65.34, -45.38)
CIE-LCHlch(62.89, 79.55, 325.22°)
OKLaboklab(70.76% 0.1783 -0.1255)
OKLCHoklch(70.76% 0.218 324.9)
XYZxyz(50.6528, 31.4536, 81.2291)
Luminance0.3145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166EA #6FEA66
analogous
#9F66EA #E166EA #EA66B1
triadic
#E166EA #EAE166 #66EAE1
tetradic
#E166EA #EA9F66 #6FEA66 #66B1EA
square
#E166EA #EA9F66 #6FEA66 #66B1EA
split-complementary
#E166EA #B1EA66 #66EA9F
monochromatic
#B11ABC #D630E3 #E166EA #EC9CF1 #F6D2F9

Accessibility & contrast

On white

2.88
#E166EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#E166EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166EA
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166EA#FFFFFF#000000##000000
##E166EA1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#538EEE
Deuteranopia (green-blind)
#7D9DE6
Tritanopia (blue-blind)
#E6779F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #e166ea;
/* rgb */ color: rgb(225, 102, 234);
/* oklch */ color: oklch(70.8% 0.218 324.9);
Tailwind
colors: {
  custom: {
    50: '#ed98f1',
    500: '#e166ea',
    950: '#000000',
  },
}
SCSS
$custom: #e166ea;
$custom-light: #ed98f1;
$custom-dark: #000000;
JSON
{
  "hex": "#e166ea",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 295.909,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70764,
    "c": 0.21804,
    "h": 324.9
  },
  "luminance": 0.31451
}

Semantic roles & 50–950 ramp

primary
#E166EA
secondary
#C3ECC0
accent
#D80D1B
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E17
muted
#857E85

Preview Lab

Preview with #E166EA

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

Preview Lab → · Contrast checker → · Palette generator →

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