#E166F7#E166F7

#E166F7 is a light, highly saturated purple. Relative luminance 0.322; OKLCH L 71.4% C 0.230 H 321.3°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#E166F7
RGBrgb(225, 102, 247)
HSLhsl(291, 90%, 68%)
HSVhsv(291, 59%, 97%)
CMYKcmyk(8.9%, 58.7%, 0%, 3.1%)
CIE-LABlab(63.53, 67.67, -51.56)
CIE-LCHlch(63.53, 85.08, 322.69°)
OKLaboklab(71.44% 0.1792 -0.1434)
OKLCHoklch(71.44% 0.23 321.3)
XYZxyz(52.5893, 32.2282, 91.4282)
Luminance0.3223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166F7 #7CF766
analogous
#9866F7 #E166F7 #F766C4
triadic
#E166F7 #F7E166 #66F7E1
tetradic
#E166F7 #F79866 #7CF766 #66C4F7
square
#E166F7 #F79866 #7CF766 #66C4F7
split-complementary
#E166F7 #C4F766 #66F798
monochromatic
#B80BD7 #D62CF4 #E166F7 #ECA0FA #F8DAFD

Accessibility & contrast

On white

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

On black

7.45
#E166F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166F7
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166F7#FFFFFF#000000##000000
##E166F71.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4891FC
Deuteranopia (green-blind)
#759FF3
Tritanopia (blue-blind)
#E37CA5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #e166f7;
/* rgb */ color: rgb(225, 102, 247);
/* oklch */ color: oklch(71.4% 0.230 321.3);
Tailwind
colors: {
  custom: {
    50: '#ed98fa',
    500: '#e166f7',
    950: '#000000',
  },
}
SCSS
$custom: #e166f7;
$custom-light: #ed98fa;
$custom-dark: #000000;
JSON
{
  "hex": "#e166f7",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 290.897,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71441,
    "c": 0.22953,
    "h": 321.3
  },
  "luminance": 0.32226
}

Semantic roles & 50–950 ramp

primary
#E166F7
secondary
#CDF2C7
accent
#E60023
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #E166F7

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

Preview Lab → · Contrast checker → · Palette generator →

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