#E166E4#E166E4

#E166E4 is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 70.5% C 0.213 H 326.6°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#E166E4
RGBrgb(225, 102, 228)
HSLhsl(299, 70%, 65%)
HSVhsv(299, 55%, 89%)
CMYKcmyk(1.3%, 55.3%, 0%, 10.6%)
CIE-LABlab(62.60, 64.29, -42.48)
CIE-LCHlch(62.60, 77.06, 326.55°)
OKLaboklab(70.46% 0.1778 -0.1171)
OKLCHoklch(70.46% 0.213 326.6)
XYZxyz(49.8054, 31.1146, 76.7661)
Luminance0.3111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166E4 #69E466
analogous
#A266E4 #E166E4 #E466A8
triadic
#E166E4 #E4E166 #66E4E1
tetradic
#E166E4 #E4A266 #69E466 #66A8E4
square
#E166E4 #E4A266 #69E466 #66A8E4
split-complementary
#E166E4 #A8E466 #66E4A2
monochromatic
#AD1FB0 #D732DB #E166E4 #EB9AED #F5CEF6

Accessibility & contrast

On white

2.91
#E166E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#E166E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166E4
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166E4#FFFFFF#000000##000000
##E166E41.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#578DE8
Deuteranopia (green-blind)
#809DE0
Tritanopia (blue-blind)
#E7759C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #e166e4;
/* rgb */ color: rgb(225, 102, 228);
/* oklch */ color: oklch(70.5% 0.213 326.6);
Tailwind
colors: {
  custom: {
    50: '#ed97ed',
    500: '#e166e4',
    950: '#000000',
  },
}
SCSS
$custom: #e166e4;
$custom-light: #ed97ed;
$custom-dark: #000000;
JSON
{
  "hex": "#e166e4",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 228
  },
  "hsl": {
    "h": 298.571,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70463,
    "c": 0.21287,
    "h": 326.6
  },
  "luminance": 0.31112
}

Semantic roles & 50–950 ramp

primary
#E166E4
secondary
#BEE9BD
accent
#D21418
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E16
muted
#857E84

Preview Lab

Preview with #E166E4

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

Preview Lab → · Contrast checker → · Palette generator →

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