#E166FE#E166FE

#E166FE is a light, highly saturated purple. Relative luminance 0.327; OKLCH L 71.8% C 0.236 H 319.6°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#E166FE
RGBrgb(225, 102, 254)
HSLhsl(289, 99%, 70%)
HSVhsv(289, 60%, 100%)
CMYKcmyk(11.4%, 59.8%, 0%, 0.4%)
CIE-LABlab(63.89, 68.96, -54.85)
CIE-LCHlch(63.89, 88.11, 321.50°)
OKLaboklab(71.82% 0.1795 -0.153)
OKLCHoklch(71.82% 0.236 319.6)
XYZxyz(53.6898, 32.6684, 97.2243)
Luminance0.3267 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166FE #83FE66
analogous
#9566FE #E166FE #FE66CF
triadic
#E166FE #FEE166 #66FEE1
tetradic
#E166FE #FE9566 #83FE66 #66CFFE
square
#E166FE #FE9566 #83FE66 #66CFFE
split-complementary
#E166FE #CFFE66 #66FE95
monochromatic
#BC02E8 #D529FE #E166FE #EDA3FE #F9E0FF

Accessibility & contrast

On white

2.79
#E166FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#E166FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166FE
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166FE#FFFFFF#000000##000000
##E166FE1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4092FF
Deuteranopia (green-blind)
#719FFA
Tritanopia (blue-blind)
#E27FA9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #e166fe;
/* rgb */ color: rgb(225, 102, 254);
/* oklch */ color: oklch(71.8% 0.236 319.6);
Tailwind
colors: {
  custom: {
    50: '#ee98ff',
    500: '#e166fe',
    950: '#000000',
  },
}
SCSS
$custom: #e166fe;
$custom-light: #ee98ff;
$custom-dark: #000000;
JSON
{
  "hex": "#e166fe",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 254
  },
  "hsl": {
    "h": 288.553,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7182,
    "c": 0.23582,
    "h": 319.6
  },
  "luminance": 0.32666
}

Semantic roles & 50–950 ramp

primary
#E166FE
secondary
#D3F5CA
accent
#E6002C
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E18
muted
#857E86

Preview Lab

Preview with #E166FE

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

Preview Lab → · Contrast checker → · Palette generator →

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