#E171DB#E171DB

#E171DB is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.4% C 0.188 H 329.4°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#E171DB
RGBrgb(225, 113, 219)
HSLhsl(303, 65%, 66%)
HSVhsv(303, 50%, 88%)
CMYKcmyk(0%, 49.8%, 2.7%, 11.8%)
CIE-LABlab(64.11, 57.64, -35.10)
CIE-LCHlch(64.11, 67.49, 328.66°)
OKLaboklab(71.44% 0.1621 -0.096)
OKLCHoklch(71.44% 0.188 329.4)
XYZxyz(49.7421, 32.9352, 70.7412)
Luminance0.3293 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E171DB #71E177
analogous
#AF71E1 #E171DB #E171A3
triadic
#E171DB #DBE171 #71DBE1
tetradic
#E171DB #E1AF71 #71E177 #71A3E1
square
#E171DB #E1AF71 #71E177 #71A3E1
split-complementary
#E171DB #A3E171 #71E1AF
monochromatic
#B226AA #D63ECE #E171DB #ECA4E8 #F6D6F5

Accessibility & contrast

On white

2.77
#E171DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#E171DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E171DB
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E171DB#FFFFFF#000000##000000
##E171DB1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A92DF
Deuteranopia (green-blind)
#8BA1D8
Tritanopia (blue-blind)
#E87B9C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #e171db;
/* rgb */ color: rgb(225, 113, 219);
/* oklch */ color: oklch(71.4% 0.188 329.4);
Tailwind
colors: {
  custom: {
    50: '#ed9ee6',
    500: '#e171db',
    950: '#000000',
  },
}
SCSS
$custom: #e171db;
$custom-light: #ed9ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#e171db",
  "rgb": {
    "r": 225,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 303.214,
    "s": 65.116,
    "l": 66.275
  },
  "oklch": {
    "l": 0.71439,
    "c": 0.18843,
    "h": 329.4
  },
  "luminance": 0.32932
}

Semantic roles & 50–950 ramp

primary
#E171DB
secondary
#C5E9C7
accent
#CD2219
background
#FEFAFE
surface
#FDF3FC
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E171DB

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

Preview Lab → · Contrast checker → · Palette generator →

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