#E166D1#E166D1

#E166D1 is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.6% C 0.197 H 332.7°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#E166D1
RGBrgb(225, 102, 209)
HSLhsl(308, 67%, 64%)
HSVhsv(308, 55%, 88%)
CMYKcmyk(0%, 54.7%, 7.1%, 11.8%)
CIE-LABlab(61.76, 61.11, -33.15)
CIE-LCHlch(61.76, 69.52, 331.52°)
OKLaboklab(69.56% 0.1752 -0.0904)
OKLCHoklch(69.56% 0.197 332.7)
XYZxyz(47.3113, 30.1170, 63.6305)
Luminance0.3011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166D1 #66E176
analogous
#B466E1 #E166D1 #E16694
triadic
#E166D1 #D1E166 #66D1E1
tetradic
#E166D1 #E1B466 #66E176 #6694E1
square
#E166D1 #E1B466 #66E176 #6694E1
split-complementary
#E166D1 #94E166 #66E1B4
monochromatic
#AB2299 #D733C2 #E166D1 #EB99E0 #F5CCF0

Accessibility & contrast

On white

2.99
#E166D1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#E166D1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166D1
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166D1#FFFFFF#000000##000000
##E166D11.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#638AD4
Deuteranopia (green-blind)
#889CCE
Tritanopia (blue-blind)
#EA6F92
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #e166d1;
/* rgb */ color: rgb(225, 102, 209);
/* oklch */ color: oklch(69.6% 0.197 332.7);
Tailwind
colors: {
  custom: {
    50: '#ed97df',
    500: '#e166d1',
    950: '#000000',
  },
}
SCSS
$custom: #e166d1;
$custom-light: #ed97df;
$custom-dark: #000000;
JSON
{
  "hex": "#e166d1",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 209
  },
  "hsl": {
    "h": 307.805,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69562,
    "c": 0.19715,
    "h": 332.7
  },
  "luminance": 0.30114
}

Semantic roles & 50–950 ramp

primary
#E166D1
secondary
#BCE7C2
accent
#CF2E16
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#170E15
muted
#857E83

Preview Lab

Preview with #E166D1

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

Preview Lab → · Contrast checker → · Palette generator →

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