#E171DC#E171DC

#E171DC is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.5% C 0.189 H 329.0°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#E171DC
RGBrgb(225, 113, 220)
HSLhsl(303, 65%, 66%)
HSVhsv(303, 50%, 88%)
CMYKcmyk(0%, 49.8%, 2.2%, 11.8%)
CIE-LABlab(64.15, 57.81, -35.60)
CIE-LCHlch(64.15, 67.89, 328.38°)
OKLaboklab(71.49% 0.1623 -0.0974)
OKLCHoklch(71.49% 0.189 329)
XYZxyz(49.8741, 32.9880, 71.4366)
Luminance0.3298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E171DC #71E176
analogous
#AE71E1 #E171DC #E171A4
triadic
#E171DC #DCE171 #71DCE1
tetradic
#E171DC #E1AE71 #71E176 #71A4E1
square
#E171DC #E1AE71 #71E176 #71A4E1
split-complementary
#E171DC #A4E171 #71E1AE
monochromatic
#B226AC #D63ED0 #E171DC #ECA4E8 #F6D6F5

Accessibility & contrast

On white

2.76
#E171DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#E171DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E171DC
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E171DC#FFFFFF#000000##000000
##E171DC1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6992E0
Deuteranopia (green-blind)
#8AA1D9
Tritanopia (blue-blind)
#E87C9D
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #e171dc;
/* rgb */ color: rgb(225, 113, 220);
/* oklch */ color: oklch(71.5% 0.189 329.0);
Tailwind
colors: {
  custom: {
    50: '#ed9ee7',
    500: '#e171dc',
    950: '#000000',
  },
}
SCSS
$custom: #e171dc;
$custom-light: #ed9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#e171dc",
  "rgb": {
    "r": 225,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 302.679,
    "s": 65.116,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71485,
    "c": 0.18929,
    "h": 329
  },
  "luminance": 0.32985
}

Semantic roles & 50–950 ramp

primary
#E171DC
secondary
#C5E9C6
accent
#CD2119
background
#FEFAFE
surface
#FDF3FC
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E171DC

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

Preview Lab → · Contrast checker → · Palette generator →

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