#E166EB#E166EB

#E166EB is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 70.8% C 0.219 H 324.6°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#E166EB
RGBrgb(225, 102, 235)
HSLhsl(295, 77%, 66%)
HSVhsv(295, 57%, 92%)
CMYKcmyk(4.3%, 56.6%, 0%, 7.8%)
CIE-LABlab(62.94, 65.52, -45.86)
CIE-LCHlch(62.94, 79.97, 325.01°)
OKLaboklab(70.82% 0.1784 -0.1269)
OKLCHoklch(70.82% 0.219 324.6)
XYZxyz(50.7968, 31.5112, 81.9878)
Luminance0.3151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166EB #70EB66
analogous
#9E66EB #E166EB #EB66B2
triadic
#E166EB #EBE166 #66EBE1
tetradic
#E166EB #EB9E66 #70EB66 #66B2EB
square
#E166EB #EB9E66 #70EB66 #66B2EB
split-complementary
#E166EB #B2EB66 #66EB9E
monochromatic
#B119BE #D630E4 #E166EB #EC9CF2 #F6D2F9

Accessibility & contrast

On white

2.88
#E166EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#E166EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166EB
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166EB#FFFFFF#000000##000000
##E166EB1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#528FEF
Deuteranopia (green-blind)
#7C9EE7
Tritanopia (blue-blind)
#E5789F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #e166eb;
/* rgb */ color: rgb(225, 102, 235);
/* oklch */ color: oklch(70.8% 0.219 324.6);
Tailwind
colors: {
  custom: {
    50: '#ed98f2',
    500: '#e166eb',
    950: '#000000',
  },
}
SCSS
$custom: #e166eb;
$custom-light: #ed98f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e166eb",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 295.489,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70815,
    "c": 0.21892,
    "h": 324.6
  },
  "luminance": 0.31508
}

Semantic roles & 50–950 ramp

primary
#E166EB
secondary
#C4ECC1
accent
#D90C1C
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#170E17
muted
#857E85

Preview Lab

Preview with #E166EB

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

Preview Lab → · Contrast checker → · Palette generator →

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