#E166D3#E166D3

#E166D3 is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.7% C 0.199 H 332.0°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#E166D3
RGBrgb(225, 102, 211)
HSLhsl(307, 67%, 64%)
HSVhsv(307, 55%, 88%)
CMYKcmyk(0%, 54.7%, 6.2%, 11.8%)
CIE-LABlab(61.84, 61.43, -34.14)
CIE-LCHlch(61.84, 70.28, 330.93°)
OKLaboklab(69.65% 0.1755 -0.0932)
OKLCHoklch(69.65% 0.199 332)
XYZxyz(47.5604, 30.2167, 64.9428)
Luminance0.3021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166D3 #66E174
analogous
#B266E1 #E166D3 #E16696
triadic
#E166D3 #D3E166 #66D3E1
tetradic
#E166D3 #E1B266 #66E174 #6696E1
square
#E166D3 #E1B266 #66E174 #6696E1
split-complementary
#E166D3 #96E166 #66E1B2
monochromatic
#AB229B #D733C4 #E166D3 #EB99E2 #F5CCF0

Accessibility & contrast

On white

2.98
#E166D3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#E166D3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E166D3
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166D3#FFFFFF#000000##000000
##E166D31.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#628AD6
Deuteranopia (green-blind)
#879CD0
Tritanopia (blue-blind)
#E97093
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #e166d3;
/* rgb */ color: rgb(225, 102, 211);
/* oklch */ color: oklch(69.7% 0.199 332.0);
Tailwind
colors: {
  custom: {
    50: '#ed97e1',
    500: '#e166d3',
    950: '#000000',
  },
}
SCSS
$custom: #e166d3;
$custom-light: #ed97e1;
$custom-dark: #000000;
JSON
{
  "hex": "#e166d3",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 211
  },
  "hsl": {
    "h": 306.829,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69654,
    "c": 0.19875,
    "h": 332
  },
  "luminance": 0.30213
}

Semantic roles & 50–950 ramp

primary
#E166D3
secondary
#BCE7C1
accent
#CF2B16
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#170E15
muted
#857E83

Preview Lab

Preview with #E166D3

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

Preview Lab → · Contrast checker → · Palette generator →

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