#E166E8#E166E8

#E166E8 is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.7% C 0.216 H 325.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#E166E8
RGBrgb(225, 102, 232)
HSLhsl(297, 74%, 65%)
HSVhsv(297, 56%, 91%)
CMYKcmyk(3%, 56%, 0%, 9%)
CIE-LABlab(62.79, 64.99, -44.41)
CIE-LCHlch(62.79, 78.71, 325.65°)
OKLaboklab(70.66% 0.1782 -0.1227)
OKLCHoklch(70.66% 0.216 325.4)
XYZxyz(50.3671, 31.3393, 79.7244)
Luminance0.3134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166E8 #6DE866
analogous
#A066E8 #E166E8 #E866AE
triadic
#E166E8 #E8E166 #66E8E1
tetradic
#E166E8 #E8A066 #6DE866 #66AEE8
square
#E166E8 #E8A066 #6DE866 #66AEE8
split-complementary
#E166E8 #AEE866 #66E8A0
monochromatic
#B01CB8 #D731E0 #E166E8 #EB9BF0 #F6D0F8

Accessibility & contrast

On white

2.89
#E166E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#E166E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166E8
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166E8#FFFFFF#000000##000000
##E166E81.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#548EEC
Deuteranopia (green-blind)
#7E9DE4
Tritanopia (blue-blind)
#E6779E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #e166e8;
/* rgb */ color: rgb(225, 102, 232);
/* oklch */ color: oklch(70.7% 0.216 325.4);
Tailwind
colors: {
  custom: {
    50: '#ed98f0',
    500: '#e166e8',
    950: '#000000',
  },
}
SCSS
$custom: #e166e8;
$custom-light: #ed98f0;
$custom-dark: #000000;
JSON
{
  "hex": "#e166e8",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 232
  },
  "hsl": {
    "h": 296.769,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70663,
    "c": 0.21632,
    "h": 325.4
  },
  "luminance": 0.31336
}

Semantic roles & 50–950 ramp

primary
#E166E8
secondary
#C1EBBF
accent
#D6101A
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E16
muted
#857E84

Preview Lab

Preview with #E166E8

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

Preview Lab → · Contrast checker → · Palette generator →

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