#E166FC#E166FC

#E166FC is a light, highly saturated purple. Relative luminance 0.325; OKLCH L 71.7% C 0.234 H 320.1°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#E166FC
RGBrgb(225, 102, 252)
HSLhsl(289, 96%, 69%)
HSVhsv(289, 60%, 99%)
CMYKcmyk(10.7%, 59.5%, 0%, 1.2%)
CIE-LABlab(63.79, 68.59, -53.91)
CIE-LCHlch(63.79, 87.24, 321.83°)
OKLaboklab(71.71% 0.1794 -0.1502)
OKLCHoklch(71.71% 0.234 320.1)
XYZxyz(53.3712, 32.5410, 95.5463)
Luminance0.3254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166FC #81FC66
analogous
#9666FC #E166FC #FC66CC
triadic
#E166FC #FCE166 #66FCE1
tetradic
#E166FC #FC9666 #81FC66 #66CCFC
square
#E166FC #FC9666 #81FC66 #66CCFC
split-complementary
#E166FC #CCFC66 #66FC96
monochromatic
#BB04E3 #D52AFB #E166FC #EDA2FD #F9DEFE

Accessibility & contrast

On white

2.80
#E166FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#E166FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166FC
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166FC#FFFFFF#000000##000000
##E166FC1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4292FF
Deuteranopia (green-blind)
#729FF8
Tritanopia (blue-blind)
#E27EA8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #e166fc;
/* rgb */ color: rgb(225, 102, 252);
/* oklch */ color: oklch(71.7% 0.234 320.1);
Tailwind
colors: {
  custom: {
    50: '#ee98fe',
    500: '#e166fc',
    950: '#000000',
  },
}
SCSS
$custom: #e166fc;
$custom-light: #ee98fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e166fc",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 252
  },
  "hsl": {
    "h": 289.2,
    "s": 96.154,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71711,
    "c": 0.23401,
    "h": 320.1
  },
  "luminance": 0.32539
}

Semantic roles & 50–950 ramp

primary
#E166FC
secondary
#D1F5C9
accent
#E60029
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170E18
muted
#857E86

Preview Lab

Preview with #E166FC

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

Preview Lab → · Contrast checker → · Palette generator →

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