#E166D9#E166D9

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

Color values

HEX#E166D9
RGBrgb(225, 102, 217)
HSLhsl(304, 67%, 64%)
HSVhsv(304, 55%, 88%)
CMYKcmyk(0%, 54.7%, 3.6%, 11.8%)
CIE-LABlab(62.10, 62.42, -37.11)
CIE-LCHlch(62.10, 72.62, 329.27°)
OKLaboklab(69.93% 0.1764 -0.1017)
OKLCHoklch(69.93% 0.204 330)
XYZxyz(48.3267, 30.5232, 68.9783)
Luminance0.3052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166D9 #66E16E
analogous
#AB66E1 #E166D9 #E1669C
triadic
#E166D9 #D9E166 #66D9E1
tetradic
#E166D9 #E1AB66 #66E16E #669CE1
square
#E166D9 #E1AB66 #66E16E #669CE1
split-complementary
#E166D9 #9CE166 #66E1AB
monochromatic
#AB22A2 #D733CC #E166D9 #EB99E6 #F5CCF2

Accessibility & contrast

On white

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

On black

7.10
#E166D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166D9
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166D9#FFFFFF#000000##000000
##E166D91.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E8BDD
Deuteranopia (green-blind)
#859CD6
Tritanopia (blue-blind)
#E97296
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #e166d9;
/* rgb */ color: rgb(225, 102, 217);
/* oklch */ color: oklch(69.9% 0.204 330.0);
Tailwind
colors: {
  custom: {
    50: '#ed97e5',
    500: '#e166d9',
    950: '#000000',
  },
}
SCSS
$custom: #e166d9;
$custom-light: #ed97e5;
$custom-dark: #000000;
JSON
{
  "hex": "#e166d9",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 217
  },
  "hsl": {
    "h": 303.902,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69932,
    "c": 0.20362,
    "h": 330
  },
  "luminance": 0.3052
}

Semantic roles & 50–950 ramp

primary
#E166D9
secondary
#BCE7BF
accent
#CF2216
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#170E16
muted
#857E84

Preview Lab

Preview with #E166D9

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

Preview Lab → · Contrast checker → · Palette generator →

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