#E166D4#E166D4

#E166D4 is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.7% C 0.200 H 331.7°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#E166D4
RGBrgb(225, 102, 212)
HSLhsl(306, 67%, 64%)
HSVhsv(306, 55%, 88%)
CMYKcmyk(0%, 54.7%, 5.8%, 11.8%)
CIE-LABlab(61.88, 61.60, -34.64)
CIE-LCHlch(61.88, 70.67, 330.65°)
OKLaboklab(69.7% 0.1757 -0.0946)
OKLCHoklch(69.7% 0.2 331.7)
XYZxyz(47.6862, 30.2670, 65.6050)
Luminance0.3026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166D4 #66E173
analogous
#B066E1 #E166D4 #E16697
triadic
#E166D4 #D4E166 #66D4E1
tetradic
#E166D4 #E1B066 #66E173 #6697E1
square
#E166D4 #E1B066 #66E173 #6697E1
split-complementary
#E166D4 #97E166 #66E1B0
monochromatic
#AB229D #D733C6 #E166D4 #EB99E2 #F5CCF1

Accessibility & contrast

On white

2.98
#E166D4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#E166D4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166D4
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166D4#FFFFFF#000000##000000
##E166D41.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#618AD8
Deuteranopia (green-blind)
#879CD1
Tritanopia (blue-blind)
#E97094
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #e166d4;
/* rgb */ color: rgb(225, 102, 212);
/* oklch */ color: oklch(69.7% 0.200 331.7);
Tailwind
colors: {
  custom: {
    50: '#ed97e1',
    500: '#e166d4',
    950: '#000000',
  },
}
SCSS
$custom: #e166d4;
$custom-light: #ed97e1;
$custom-dark: #000000;
JSON
{
  "hex": "#e166d4",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 212
  },
  "hsl": {
    "h": 306.341,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69699,
    "c": 0.19954,
    "h": 331.7
  },
  "luminance": 0.30264
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E166D4

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

Preview Lab → · Contrast checker → · Palette generator →

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