#E166EF#E166EF

#E166EF is a light, highly saturated purple. Relative luminance 0.317; OKLCH L 71.0% C 0.222 H 323.5°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#E166EF
RGBrgb(225, 102, 239)
HSLhsl(294, 81%, 67%)
HSVhsv(294, 57%, 94%)
CMYKcmyk(5.9%, 57.3%, 0%, 6.3%)
CIE-LABlab(63.13, 66.23, -47.77)
CIE-LCHlch(63.13, 81.66, 324.20°)
OKLaboklab(71.02% 0.1787 -0.1324)
OKLCHoklch(71.02% 0.222 323.5)
XYZxyz(51.3812, 31.7450, 85.0656)
Luminance0.3174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166EF #74EF66
analogous
#9D66EF #E166EF #EF66B8
triadic
#E166EF #EFE166 #66EFE1
tetradic
#E166EF #EF9D66 #74EF66 #66B8EF
square
#E166EF #EF9D66 #74EF66 #66B8EF
split-complementary
#E166EF #B8EF66 #66EF9D
monochromatic
#B415C6 #D62FE9 #E166EF #EC9DF5 #F7D5FB

Accessibility & contrast

On white

2.86
#E166EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#E166EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166EF
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166EF#FFFFFF#000000##000000
##E166EF1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8FF3
Deuteranopia (green-blind)
#7A9EEB
Tritanopia (blue-blind)
#E579A1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #e166ef;
/* rgb */ color: rgb(225, 102, 239);
/* oklch */ color: oklch(71.0% 0.222 323.5);
Tailwind
colors: {
  custom: {
    50: '#ed98f5',
    500: '#e166ef',
    950: '#000000',
  },
}
SCSS
$custom: #e166ef;
$custom-light: #ed98f5;
$custom-dark: #000000;
JSON
{
  "hex": "#e166ef",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 293.869,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.7102,
    "c": 0.22243,
    "h": 323.5
  },
  "luminance": 0.31742
}

Semantic roles & 50–950 ramp

primary
#E166EF
secondary
#C7EEC2
accent
#DD081E
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#170E17
muted
#857E85

Preview Lab

Preview with #E166EF

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

Preview Lab → · Contrast checker → · Palette generator →

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