#E166DB#E166DB

#E166DB is a light, highly saturated purple. Relative luminance 0.306; OKLCH L 70.0% C 0.205 H 329.4°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#E166DB
RGBrgb(225, 102, 219)
HSLhsl(303, 67%, 64%)
HSVhsv(303, 55%, 88%)
CMYKcmyk(0%, 54.7%, 2.7%, 11.8%)
CIE-LABlab(62.19, 62.76, -38.09)
CIE-LCHlch(62.19, 73.41, 328.74°)
OKLaboklab(70.03% 0.1767 -0.1045)
OKLCHoklch(70.03% 0.205 329.4)
XYZxyz(48.5884, 30.6278, 70.3567)
Luminance0.3063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166DB #66E16C
analogous
#AA66E1 #E166DB #E1669E
triadic
#E166DB #DBE166 #66DBE1
tetradic
#E166DB #E1AA66 #66E16C #669EE1
square
#E166DB #E1AA66 #66E16C #669EE1
split-complementary
#E166DB #9EE166 #66E1AA
monochromatic
#AB22A4 #D733CF #E166DB #EB99E7 #F5CCF3

Accessibility & contrast

On white

2.95
#E166DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#E166DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166DB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166DB#FFFFFF#000000##000000
##E166DB1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8CDF
Deuteranopia (green-blind)
#849CD8
Tritanopia (blue-blind)
#E87297
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #e166db;
/* rgb */ color: rgb(225, 102, 219);
/* oklch */ color: oklch(70.0% 0.205 329.4);
Tailwind
colors: {
  custom: {
    50: '#ed97e6',
    500: '#e166db',
    950: '#000000',
  },
}
SCSS
$custom: #e166db;
$custom-light: #ed97e6;
$custom-dark: #000000;
JSON
{
  "hex": "#e166db",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 302.927,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.70027,
    "c": 0.20527,
    "h": 329.4
  },
  "luminance": 0.30625
}

Semantic roles & 50–950 ramp

primary
#E166DB
secondary
#BCE7BE
accent
#CF1F16
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#170E16
muted
#857E84

Preview Lab

Preview with #E166DB

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

Preview Lab → · Contrast checker → · Palette generator →

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