#E166D7#E166D7

#E166D7 is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 69.8% C 0.202 H 330.7°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#E166D7
RGBrgb(225, 102, 215)
HSLhsl(305, 67%, 64%)
HSVhsv(305, 55%, 88%)
CMYKcmyk(0%, 54.7%, 4.4%, 11.8%)
CIE-LABlab(62.01, 62.09, -36.12)
CIE-LCHlch(62.01, 71.83, 329.81°)
OKLaboklab(69.84% 0.1761 -0.0988)
OKLCHoklch(69.84% 0.202 330.7)
XYZxyz(48.0681, 30.4197, 67.6166)
Luminance0.3042 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166D7 #66E170
analogous
#AE66E1 #E166D7 #E1669A
triadic
#E166D7 #D7E166 #66D7E1
tetradic
#E166D7 #E1AE66 #66E170 #669AE1
square
#E166D7 #E1AE66 #66E170 #669AE1
split-complementary
#E166D7 #9AE166 #66E1AE
monochromatic
#AB22A0 #D733CA #E166D7 #EB99E4 #F5CCF2

Accessibility & contrast

On white

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

On black

7.08
#E166D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166D7
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166D7#FFFFFF#000000##000000
##E166D71.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8BDB
Deuteranopia (green-blind)
#859CD4
Tritanopia (blue-blind)
#E97195
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #e166d7;
/* rgb */ color: rgb(225, 102, 215);
/* oklch */ color: oklch(69.8% 0.202 330.7);
Tailwind
colors: {
  custom: {
    50: '#ed97e3',
    500: '#e166d7',
    950: '#000000',
  },
}
SCSS
$custom: #e166d7;
$custom-light: #ed97e3;
$custom-dark: #000000;
JSON
{
  "hex": "#e166d7",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 215
  },
  "hsl": {
    "h": 304.878,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69838,
    "c": 0.20198,
    "h": 330.7
  },
  "luminance": 0.30417
}

Semantic roles & 50–950 ramp

primary
#E166D7
secondary
#BCE7BF
accent
#CF2516
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#170E15
muted
#857E83

Preview Lab

Preview with #E166D7

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

Preview Lab → · Contrast checker → · Palette generator →

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