#E166D5#E166D5

#E166D5 is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 69.7% C 0.200 H 331.4°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#E166D5
RGBrgb(225, 102, 213)
HSLhsl(306, 67%, 64%)
HSVhsv(306, 55%, 88%)
CMYKcmyk(0%, 54.7%, 5.3%, 11.8%)
CIE-LABlab(61.93, 61.76, -35.14)
CIE-LCHlch(61.93, 71.06, 330.36°)
OKLaboklab(69.75% 0.1758 -0.096)
OKLCHoklch(69.75% 0.2 331.4)
XYZxyz(47.8127, 30.3176, 66.2714)
Luminance0.3031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166D5 #66E172
analogous
#B066E1 #E166D5 #E16698
triadic
#E166D5 #D5E166 #66D5E1
tetradic
#E166D5 #E1B066 #66E172 #6698E1
square
#E166D5 #E1B066 #66E172 #6698E1
split-complementary
#E166D5 #98E166 #66E1B0
monochromatic
#AB229E #D733C7 #E166D5 #EB99E3 #F5CCF1

Accessibility & contrast

On white

2.97
#E166D5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#E166D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166D5
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166D5#FFFFFF#000000##000000
##E166D51.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#608BD9
Deuteranopia (green-blind)
#869CD2
Tritanopia (blue-blind)
#E97094
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #e166d5;
/* rgb */ color: rgb(225, 102, 213);
/* oklch */ color: oklch(69.7% 0.200 331.4);
Tailwind
colors: {
  custom: {
    50: '#ed97e2',
    500: '#e166d5',
    950: '#000000',
  },
}
SCSS
$custom: #e166d5;
$custom-light: #ed97e2;
$custom-dark: #000000;
JSON
{
  "hex": "#e166d5",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 213
  },
  "hsl": {
    "h": 305.854,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69746,
    "c": 0.20035,
    "h": 331.4
  },
  "luminance": 0.30314
}

Semantic roles & 50–950 ramp

primary
#E166D5
secondary
#BCE7C0
accent
#CF2816
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#170E15
muted
#857E83

Preview Lab

Preview with #E166D5

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

Preview Lab → · Contrast checker → · Palette generator →

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