#E166E5#E166E5

#E166E5 is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 70.5% C 0.214 H 326.3°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#E166E5
RGBrgb(225, 102, 229)
HSLhsl(298, 71%, 65%)
HSVhsv(298, 55%, 90%)
CMYKcmyk(1.7%, 55.5%, 0%, 10.2%)
CIE-LABlab(62.65, 64.46, -42.96)
CIE-LCHlch(62.65, 77.47, 326.32°)
OKLaboklab(70.51% 0.1779 -0.1185)
OKLCHoklch(70.51% 0.214 326.3)
XYZxyz(49.9446, 31.1703, 77.4993)
Luminance0.3117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166E5 #6AE566
analogous
#A166E5 #E166E5 #E566AA
triadic
#E166E5 #E5E166 #66E5E1
tetradic
#E166E5 #E5A166 #6AE566 #66AAE5
square
#E166E5 #E5A166 #6AE566 #66AAE5
split-complementary
#E166E5 #AAE566 #66E5A1
monochromatic
#AE1EB2 #D732DC #E166E5 #EB9AEE #F6CFF7

Accessibility & contrast

On white

2.90
#E166E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#E166E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166E5
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166E5#FFFFFF#000000##000000
##E166E51.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#568EE9
Deuteranopia (green-blind)
#7F9DE1
Tritanopia (blue-blind)
#E6769C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #e166e5;
/* rgb */ color: rgb(225, 102, 229);
/* oklch */ color: oklch(70.5% 0.214 326.3);
Tailwind
colors: {
  custom: {
    50: '#ed98ed',
    500: '#e166e5',
    950: '#000000',
  },
}
SCSS
$custom: #e166e5;
$custom-light: #ed98ed;
$custom-dark: #000000;
JSON
{
  "hex": "#e166e5",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 298.11,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.70513,
    "c": 0.21372,
    "h": 326.3
  },
  "luminance": 0.31167
}

Semantic roles & 50–950 ramp

primary
#E166E5
secondary
#BFE9BE
accent
#D31319
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E16
muted
#857E84

Preview Lab

Preview with #E166E5

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

Preview Lab → · Contrast checker → · Palette generator →

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