#E166D8#E166D8

#E166D8 is a light, highly saturated purple. Relative luminance 0.305; OKLCH L 69.9% C 0.203 H 330.4°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#E166D8
RGBrgb(225, 102, 216)
HSLhsl(304, 67%, 64%)
HSVhsv(304, 55%, 88%)
CMYKcmyk(0%, 54.7%, 4%, 11.8%)
CIE-LABlab(62.06, 62.26, -36.62)
CIE-LCHlch(62.06, 72.23, 329.54°)
OKLaboklab(69.88% 0.1763 -0.1003)
OKLCHoklch(69.88% 0.203 330.4)
XYZxyz(48.1970, 30.4713, 68.2954)
Luminance0.3047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166D8 #66E16F
analogous
#AD66E1 #E166D8 #E1669B
triadic
#E166D8 #D8E166 #66D8E1
tetradic
#E166D8 #E1AD66 #66E16F #669BE1
square
#E166D8 #E1AD66 #66E16F #669BE1
split-complementary
#E166D8 #9BE166 #66E1AD
monochromatic
#AB22A1 #D733CB #E166D8 #EB99E5 #F5CCF2

Accessibility & contrast

On white

2.96
#E166D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#E166D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166D8
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166D8#FFFFFF#000000##000000
##E166D81.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8BDC
Deuteranopia (green-blind)
#859CD5
Tritanopia (blue-blind)
#E97196
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #e166d8;
/* rgb */ color: rgb(225, 102, 216);
/* oklch */ color: oklch(69.9% 0.203 330.4);
Tailwind
colors: {
  custom: {
    50: '#ed97e4',
    500: '#e166d8',
    950: '#000000',
  },
}
SCSS
$custom: #e166d8;
$custom-light: #ed97e4;
$custom-dark: #000000;
JSON
{
  "hex": "#e166d8",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 216
  },
  "hsl": {
    "h": 304.39,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69885,
    "c": 0.2028,
    "h": 330.4
  },
  "luminance": 0.30468
}

Semantic roles & 50–950 ramp

primary
#E166D8
secondary
#BCE7BF
accent
#CF2416
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#170E15
muted
#857E84

Preview Lab

Preview with #E166D8

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

Preview Lab → · Contrast checker → · Palette generator →

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