#E166E7#E166E7

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

Color values

HEX#E166E7
RGBrgb(225, 102, 231)
HSLhsl(297, 73%, 65%)
HSVhsv(297, 56%, 91%)
CMYKcmyk(2.6%, 55.8%, 0%, 9.4%)
CIE-LABlab(62.75, 64.81, -43.93)
CIE-LCHlch(62.75, 78.30, 325.87°)
OKLaboklab(70.61% 0.1781 -0.1213)
OKLCHoklch(70.61% 0.215 325.7)
XYZxyz(50.2254, 31.2827, 78.9785)
Luminance0.3128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166E7 #6CE766
analogous
#A066E7 #E166E7 #E766AD
triadic
#E166E7 #E7E166 #66E7E1
tetradic
#E166E7 #E7A066 #6CE766 #66ADE7
square
#E166E7 #E7A066 #6CE766 #66ADE7
split-complementary
#E166E7 #ADE766 #66E7A0
monochromatic
#AF1DB6 #D731DF #E166E7 #EB9BEF #F6D0F8

Accessibility & contrast

On white

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

On black

7.26
#E166E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166E7
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166E7#FFFFFF#000000##000000
##E166E71.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#558EEB
Deuteranopia (green-blind)
#7E9DE3
Tritanopia (blue-blind)
#E6769D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #e166e7;
/* rgb */ color: rgb(225, 102, 231);
/* oklch */ color: oklch(70.6% 0.215 325.7);
Tailwind
colors: {
  custom: {
    50: '#ed98ef',
    500: '#e166e7',
    950: '#000000',
  },
}
SCSS
$custom: #e166e7;
$custom-light: #ed98ef;
$custom-dark: #000000;
JSON
{
  "hex": "#e166e7",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 297.209,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70613,
    "c": 0.21544,
    "h": 325.7
  },
  "luminance": 0.3128
}

Semantic roles & 50–950 ramp

primary
#E166E7
secondary
#C1EABF
accent
#D5111A
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E16
muted
#857E84

Preview Lab

Preview with #E166E7

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

Preview Lab → · Contrast checker → · Palette generator →

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