#E166DF#E166DF

#E166DF is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.2% C 0.209 H 328.1°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#E166DF
RGBrgb(225, 102, 223)
HSLhsl(301, 67%, 64%)
HSVhsv(301, 55%, 88%)
CMYKcmyk(0%, 54.7%, 0.9%, 11.8%)
CIE-LABlab(62.37, 63.43, -40.05)
CIE-LCHlch(62.37, 75.02, 327.73°)
OKLaboklab(70.22% 0.1772 -0.1101)
OKLCHoklch(70.22% 0.209 328.1)
XYZxyz(49.1213, 30.8410, 73.1633)
Luminance0.3084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166DF #66E168
analogous
#A666E1 #E166DF #E166A2
triadic
#E166DF #DFE166 #66DFE1
tetradic
#E166DF #E1A666 #66E168 #66A2E1
square
#E166DF #E1A666 #66E168 #66A2E1
split-complementary
#E166DF #A2E166 #66E1A6
monochromatic
#AB22A9 #D733D4 #E166DF #EB99EA #F5CCF4

Accessibility & contrast

On white

2.93
#E166DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#E166DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166DF
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166DF#FFFFFF#000000##000000
##E166DF1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8CE3
Deuteranopia (green-blind)
#829DDB
Tritanopia (blue-blind)
#E87499
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #e166df;
/* rgb */ color: rgb(225, 102, 223);
/* oklch */ color: oklch(70.2% 0.209 328.1);
Tailwind
colors: {
  custom: {
    50: '#ed97e9',
    500: '#e166df',
    950: '#000000',
  },
}
SCSS
$custom: #e166df;
$custom-light: #ed97e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e166df",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 223
  },
  "hsl": {
    "h": 300.976,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.70219,
    "c": 0.20862,
    "h": 328.1
  },
  "luminance": 0.30838
}

Semantic roles & 50–950 ramp

primary
#E166DF
secondary
#BCE7BD
accent
#CF1916
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E16
muted
#857E84

Preview Lab

Preview with #E166DF

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

Preview Lab → · Contrast checker → · Palette generator →

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