#E171DF#E171DF

#E171DF is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.6% C 0.192 H 328.0°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#E171DF
RGBrgb(225, 113, 223)
HSLhsl(301, 65%, 66%)
HSVhsv(301, 50%, 88%)
CMYKcmyk(0%, 49.8%, 0.9%, 11.8%)
CIE-LABlab(64.28, 58.33, -37.07)
CIE-LCHlch(64.28, 69.11, 327.56°)
OKLaboklab(71.62% 0.1628 -0.1016)
OKLCHoklch(71.62% 0.192 328)
XYZxyz(50.2750, 33.1484, 73.5479)
Luminance0.3315 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E171DF #71E173
analogous
#AB71E1 #E171DF #E171A7
triadic
#E171DF #DFE171 #71DFE1
tetradic
#E171DF #E1AB71 #71E173 #71A7E1
square
#E171DF #E1AB71 #71E173 #71A7E1
split-complementary
#E171DF #A7E171 #71E1AB
monochromatic
#B226AF #D63ED4 #E171DF #ECA4EA #F6D6F6

Accessibility & contrast

On white

2.75
#E171DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#E171DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E171DF
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E171DF#FFFFFF#000000##000000
##E171DF1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6892E3
Deuteranopia (green-blind)
#89A1DC
Tritanopia (blue-blind)
#E77D9E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #e171df;
/* rgb */ color: rgb(225, 113, 223);
/* oklch */ color: oklch(71.6% 0.192 328.0);
Tailwind
colors: {
  custom: {
    50: '#ed9ee9',
    500: '#e171df',
    950: '#000000',
  },
}
SCSS
$custom: #e171df;
$custom-light: #ed9ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#e171df",
  "rgb": {
    "r": 225,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 301.071,
    "s": 65.116,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71623,
    "c": 0.19189,
    "h": 328
  },
  "luminance": 0.33146
}

Semantic roles & 50–950 ramp

primary
#E171DF
secondary
#C5E9C5
accent
#CD1C19
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E171DF

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

Preview Lab → · Contrast checker → · Palette generator →

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