#E166E6#E166E6

#E166E6 is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 70.6% C 0.215 H 326.0°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#E166E6
RGBrgb(225, 102, 230)
HSLhsl(298, 72%, 65%)
HSVhsv(298, 56%, 90%)
CMYKcmyk(2.2%, 55.7%, 0%, 9.8%)
CIE-LABlab(62.70, 64.64, -43.45)
CIE-LCHlch(62.70, 77.88, 326.09°)
OKLaboklab(70.56% 0.178 -0.1199)
OKLCHoklch(70.56% 0.215 326)
XYZxyz(50.0846, 31.2263, 78.2368)
Luminance0.3122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166E6 #6BE666
analogous
#A166E6 #E166E6 #E666AB
triadic
#E166E6 #E6E166 #66E6E1
tetradic
#E166E6 #E6A166 #6BE666 #66ABE6
square
#E166E6 #E6A166 #6BE666 #66ABE6
split-complementary
#E166E6 #ABE666 #66E6A1
monochromatic
#AE1DB4 #D731DD #E166E6 #EB9BEF #F6CFF7

Accessibility & contrast

On white

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

On black

7.24
#E166E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166E6
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166E6#FFFFFF#000000##000000
##E166E61.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#568EEA
Deuteranopia (green-blind)
#7F9DE2
Tritanopia (blue-blind)
#E6769D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #e166e6;
/* rgb */ color: rgb(225, 102, 230);
/* oklch */ color: oklch(70.6% 0.215 326.0);
Tailwind
colors: {
  custom: {
    50: '#ed98ee',
    500: '#e166e6',
    950: '#000000',
  },
}
SCSS
$custom: #e166e6;
$custom-light: #ed98ee;
$custom-dark: #000000;
JSON
{
  "hex": "#e166e6",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 230
  },
  "hsl": {
    "h": 297.656,
    "s": 71.91,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70563,
    "c": 0.21458,
    "h": 326
  },
  "luminance": 0.31223
}

Semantic roles & 50–950 ramp

primary
#E166E6
secondary
#C0EABE
accent
#D41219
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E16
muted
#857E84

Preview Lab

Preview with #E166E6

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

Preview Lab → · Contrast checker → · Palette generator →

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