#E171FB#E171FB

#E171FB is a light, highly saturated purple. Relative luminance 0.348; OKLCH L 73.0% C 0.217 H 319.8°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#E171FB
RGBrgb(225, 113, 251)
HSLhsl(289, 95%, 71%)
HSVhsv(289, 55%, 98%)
CMYKcmyk(10.4%, 55%, 0%, 1.6%)
CIE-LABlab(65.58, 63.41, -50.52)
CIE-LCHlch(65.58, 81.07, 321.45°)
OKLaboklab(73% 0.166 -0.1405)
OKLCHoklch(73% 0.217 319.8)
XYZxyz(54.3669, 34.7851, 95.0985)
Luminance0.3478 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E171FB #8BFB71
analogous
#9C71FB #E171FB #FB71D0
triadic
#E171FB #FBE171 #71FBE1
tetradic
#E171FB #FB9C71 #8BFB71 #71D0FB
square
#E171FB #FB9C71 #8BFB71 #71D0FB
split-complementary
#E171FB #D0FB71 #71FB9C
monochromatic
#C007EB #D435F9 #E171FB #EEADFD #F9E1FE

Accessibility & contrast

On white

2.64
#E171FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#E171FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E171FB
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E171FB#FFFFFF#000000##000000
##E171FB1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#7BA3F7
Tritanopia (blue-blind)
#E286AC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e171fb;
/* rgb */ color: rgb(225, 113, 251);
/* oklch */ color: oklch(73.0% 0.217 319.8);
Tailwind
colors: {
  custom: {
    50: '#ed9efd',
    500: '#e171fb',
    950: '#000000',
  },
}
SCSS
$custom: #e171fb;
$custom-light: #ed9efd;
$custom-dark: #000000;
JSON
{
  "hex": "#e171fb",
  "rgb": {
    "r": 225,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 288.696,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73003,
    "c": 0.21742,
    "h": 319.8
  },
  "luminance": 0.34783
}

Semantic roles & 50–950 ramp

primary
#E171FB
secondary
#D9F6D2
accent
#E6002B
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E171FB

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

Preview Lab → · Contrast checker → · Palette generator →

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