#E166D2#E166D2

#E166D2 is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.6% C 0.198 H 332.4°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#E166D2
RGBrgb(225, 102, 210)
HSLhsl(307, 67%, 64%)
HSVhsv(307, 55%, 88%)
CMYKcmyk(0%, 54.7%, 6.7%, 11.8%)
CIE-LABlab(61.80, 61.27, -33.65)
CIE-LCHlch(61.80, 69.90, 331.23°)
OKLaboklab(69.61% 0.1754 -0.0918)
OKLCHoklch(69.61% 0.198 332.4)
XYZxyz(47.4355, 30.1667, 64.2846)
Luminance0.3016 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166D2 #66E175
analogous
#B366E1 #E166D2 #E16695
triadic
#E166D2 #D2E166 #66D2E1
tetradic
#E166D2 #E1B366 #66E175 #6695E1
square
#E166D2 #E1B366 #66E175 #6695E1
split-complementary
#E166D2 #95E166 #66E1B3
monochromatic
#AB229A #D733C3 #E166D2 #EB99E1 #F5CCF0

Accessibility & contrast

On white

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

On black

7.03
#E166D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166D2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166D2#FFFFFF#000000##000000
##E166D21.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#628AD5
Deuteranopia (green-blind)
#879CCF
Tritanopia (blue-blind)
#EA6F93
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #e166d2;
/* rgb */ color: rgb(225, 102, 210);
/* oklch */ color: oklch(69.6% 0.198 332.4);
Tailwind
colors: {
  custom: {
    50: '#ed97e0',
    500: '#e166d2',
    950: '#000000',
  },
}
SCSS
$custom: #e166d2;
$custom-light: #ed97e0;
$custom-dark: #000000;
JSON
{
  "hex": "#e166d2",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 210
  },
  "hsl": {
    "h": 307.317,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69608,
    "c": 0.19794,
    "h": 332.4
  },
  "luminance": 0.30163
}

Semantic roles & 50–950 ramp

primary
#E166D2
secondary
#BCE7C1
accent
#CF2D16
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#170E15
muted
#857E83

Preview Lab

Preview with #E166D2

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

Preview Lab → · Contrast checker → · Palette generator →

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