#E166DC#E166DC

#E166DC is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.1% C 0.206 H 329.1°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#E166DC
RGBrgb(225, 102, 220)
HSLhsl(302, 67%, 64%)
HSVhsv(302, 55%, 88%)
CMYKcmyk(0%, 54.7%, 2.2%, 11.8%)
CIE-LABlab(62.24, 62.93, -38.58)
CIE-LCHlch(62.24, 73.81, 328.49°)
OKLaboklab(70.07% 0.1768 -0.1059)
OKLCHoklch(70.07% 0.206 329.1)
XYZxyz(48.7204, 30.6807, 71.0521)
Luminance0.3068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166DC #66E16B
analogous
#A966E1 #E166DC #E1669F
triadic
#E166DC #DCE166 #66DCE1
tetradic
#E166DC #E1A966 #66E16B #669FE1
square
#E166DC #E1A966 #66E16B #669FE1
split-complementary
#E166DC #9FE166 #66E1A9
monochromatic
#AB22A5 #D733D0 #E166DC #EB99E8 #F5CCF3

Accessibility & contrast

On white

2.94
#E166DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#E166DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166DC
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166DC#FFFFFF#000000##000000
##E166DC1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8CE0
Deuteranopia (green-blind)
#839CD8
Tritanopia (blue-blind)
#E87398
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #e166dc;
/* rgb */ color: rgb(225, 102, 220);
/* oklch */ color: oklch(70.1% 0.206 329.1);
Tailwind
colors: {
  custom: {
    50: '#ed97e7',
    500: '#e166dc',
    950: '#000000',
  },
}
SCSS
$custom: #e166dc;
$custom-light: #ed97e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e166dc",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 220
  },
  "hsl": {
    "h": 302.439,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.70074,
    "c": 0.20611,
    "h": 329.1
  },
  "luminance": 0.30678
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E166DC

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

Preview Lab → · Contrast checker → · Palette generator →

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