#E166F2#E166F2

#E166F2 is a light, highly saturated purple. Relative luminance 0.319; OKLCH L 71.2% C 0.225 H 322.6°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#E166F2
RGBrgb(225, 102, 242)
HSLhsl(293, 84%, 67%)
HSVhsv(293, 58%, 95%)
CMYKcmyk(7%, 57.9%, 0%, 5.1%)
CIE-LABlab(63.28, 66.76, -49.20)
CIE-LCHlch(63.28, 82.93, 323.61°)
OKLaboklab(71.18% 0.1789 -0.1365)
OKLCHoklch(71.18% 0.225 322.6)
XYZxyz(51.8281, 31.9237, 87.4191)
Luminance0.3192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166F2 #77F266
analogous
#9B66F2 #E166F2 #F266BD
triadic
#E166F2 #F2E166 #66F2E1
tetradic
#E166F2 #F29B66 #77F266 #66BDF2
square
#E166F2 #F29B66 #77F266 #66BDF2
split-complementary
#E166F2 #BDF266 #66F29B
monochromatic
#B611CC #D62EED #E166F2 #EC9EF7 #F7D7FC

Accessibility & contrast

On white

2.84
#E166F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#E166F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166F2
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166F2#FFFFFF#000000##000000
##E166F21.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C90F6
Deuteranopia (green-blind)
#789EEE
Tritanopia (blue-blind)
#E47AA3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #e166f2;
/* rgb */ color: rgb(225, 102, 242);
/* oklch */ color: oklch(71.2% 0.225 322.6);
Tailwind
colors: {
  custom: {
    50: '#ed98f7',
    500: '#e166f2',
    950: '#000000',
  },
}
SCSS
$custom: #e166f2;
$custom-light: #ed98f7;
$custom-dark: #000000;
JSON
{
  "hex": "#e166f2",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 242
  },
  "hsl": {
    "h": 292.714,
    "s": 84.337,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71177,
    "c": 0.22507,
    "h": 322.6
  },
  "luminance": 0.31921
}

Semantic roles & 50–950 ramp

primary
#E166F2
secondary
#C9F0C4
accent
#E1051F
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #E166F2

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

Preview Lab → · Contrast checker → · Palette generator →

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