#E166F8#E166F8

#E166F8 is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 71.5% C 0.230 H 321.1°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#E166F8
RGBrgb(225, 102, 248)
HSLhsl(291, 91%, 69%)
HSVhsv(291, 59%, 97%)
CMYKcmyk(9.3%, 58.9%, 0%, 2.7%)
CIE-LABlab(63.58, 67.85, -52.03)
CIE-LCHlch(63.58, 85.51, 322.52°)
OKLaboklab(71.5% 0.1793 -0.1448)
OKLCHoklch(71.5% 0.23 321.1)
XYZxyz(52.7440, 32.2901, 92.2431)
Luminance0.3229 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166F8 #7DF866
analogous
#9866F8 #E166F8 #F866C6
triadic
#E166F8 #F8E166 #66F8E1
tetradic
#E166F8 #F89866 #7DF866 #66C6F8
square
#E166F8 #F89866 #7DF866 #66C6F8
split-complementary
#E166F8 #C6F866 #66F898
monochromatic
#B90ADA #D62BF5 #E166F8 #ECA1FB #F8DBFD

Accessibility & contrast

On white

2.82
#E166F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#E166F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166F8
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166F8#FFFFFF#000000##000000
##E166F81.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4791FD
Deuteranopia (green-blind)
#759FF4
Tritanopia (blue-blind)
#E37CA6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #e166f8;
/* rgb */ color: rgb(225, 102, 248);
/* oklch */ color: oklch(71.5% 0.230 321.1);
Tailwind
colors: {
  custom: {
    50: '#ee98fb',
    500: '#e166f8',
    950: '#000000',
  },
}
SCSS
$custom: #e166f8;
$custom-light: #ee98fb;
$custom-dark: #000000;
JSON
{
  "hex": "#e166f8",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 248
  },
  "hsl": {
    "h": 290.548,
    "s": 91.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71495,
    "c": 0.23042,
    "h": 321.1
  },
  "luminance": 0.32288
}

Semantic roles & 50–950 ramp

primary
#E166F8
secondary
#CEF3C7
accent
#E60024
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #E166F8

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

Preview Lab → · Contrast checker → · Palette generator →

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