#E166F6#E166F6

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

Color values

HEX#E166F6
RGBrgb(225, 102, 246)
HSLhsl(291, 89%, 68%)
HSVhsv(291, 59%, 96%)
CMYKcmyk(8.5%, 58.5%, 0%, 3.5%)
CIE-LABlab(63.48, 67.49, -51.09)
CIE-LCHlch(63.48, 84.65, 322.87°)
OKLaboklab(71.39% 0.1792 -0.142)
OKLCHoklch(71.39% 0.229 321.6)
XYZxyz(52.4354, 32.1667, 90.6177)
Luminance0.3216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166F6 #7BF666
analogous
#9966F6 #E166F6 #F666C3
triadic
#E166F6 #F6E166 #66F6E1
tetradic
#E166F6 #F69966 #7BF666 #66C3F6
square
#E166F6 #F69966 #7BF666 #66C3F6
split-complementary
#E166F6 #C3F666 #66F699
monochromatic
#B80DD5 #D62CF3 #E166F6 #ECA0F9 #F8DAFD

Accessibility & contrast

On white

2.83
#E166F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#E166F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166F6
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166F6#FFFFFF#000000##000000
##E166F61.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4991FA
Deuteranopia (green-blind)
#769EF2
Tritanopia (blue-blind)
#E37CA5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #e166f6;
/* rgb */ color: rgb(225, 102, 246);
/* oklch */ color: oklch(71.4% 0.229 321.6);
Tailwind
colors: {
  custom: {
    50: '#ed98fa',
    500: '#e166f6',
    950: '#000000',
  },
}
SCSS
$custom: #e166f6;
$custom-light: #ed98fa;
$custom-dark: #000000;
JSON
{
  "hex": "#e166f6",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 246
  },
  "hsl": {
    "h": 291.25,
    "s": 88.889,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71388,
    "c": 0.22863,
    "h": 321.6
  },
  "luminance": 0.32164
}

Semantic roles & 50–950 ramp

primary
#E166F6
secondary
#CCF2C6
accent
#E60021
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E17
muted
#857E85

Preview Lab

Preview with #E166F6

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

Preview Lab → · Contrast checker → · Palette generator →

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