#E166CD#E166CD

#E166CD is a light, vivid purple. Relative luminance 0.299; OKLCH L 69.4% C 0.194 H 334.1°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#E166CD
RGBrgb(225, 102, 205)
HSLhsl(310, 67%, 64%)
HSVhsv(310, 55%, 88%)
CMYKcmyk(0%, 54.7%, 8.9%, 11.8%)
CIE-LABlab(61.59, 60.46, -31.15)
CIE-LCHlch(61.59, 68.02, 332.74°)
OKLaboklab(69.38% 0.1745 -0.0847)
OKLCHoklch(69.38% 0.194 334.1)
XYZxyz(46.8223, 29.9214, 61.0551)
Luminance0.2992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E166CD #66E17A
analogous
#B866E1 #E166CD #E16690
triadic
#E166CD #CDE166 #66CDE1
tetradic
#E166CD #E1B866 #66E17A #6690E1
square
#E166CD #E1B866 #66E17A #6690E1
split-complementary
#E166CD #90E166 #66E1B8
monochromatic
#AB2295 #D733BC #E166CD #EB99DE #F5CCEE

Accessibility & contrast

On white

3.01
#E166CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#E166CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #E166CD
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E166CD#FFFFFF#000000##000000
##E166CD1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6589D0
Deuteranopia (green-blind)
#899BCA
Tritanopia (blue-blind)
#EA6E90
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #e166cd;
/* rgb */ color: rgb(225, 102, 205);
/* oklch */ color: oklch(69.4% 0.194 334.1);
Tailwind
colors: {
  custom: {
    50: '#ed97dc',
    500: '#e166cd',
    950: '#000000',
  },
}
SCSS
$custom: #e166cd;
$custom-light: #ed97dc;
$custom-dark: #000000;
JSON
{
  "hex": "#e166cd",
  "rgb": {
    "r": 225,
    "g": 102,
    "b": 205
  },
  "hsl": {
    "h": 309.756,
    "s": 67.213,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69383,
    "c": 0.194,
    "h": 334.1
  },
  "luminance": 0.29918
}

Semantic roles & 50–950 ramp

primary
#E166CD
secondary
#BCE7C3
accent
#CF3416
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#170E15
muted
#857E83

Preview Lab

Preview with #E166CD

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

Preview Lab → · Contrast checker → · Palette generator →

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