#E171FA#E171FA

#E171FA is a light, highly saturated purple. Relative luminance 0.347; OKLCH L 73.0% C 0.216 H 320.0°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#E171FA
RGBrgb(225, 113, 250)
HSLhsl(289, 93%, 71%)
HSVhsv(289, 55%, 98%)
CMYKcmyk(10%, 54.8%, 0%, 2%)
CIE-LABlab(65.53, 63.22, -50.05)
CIE-LCHlch(65.53, 80.63, 321.63°)
OKLaboklab(72.95% 0.1659 -0.1391)
OKLCHoklch(72.95% 0.216 320)
XYZxyz(54.2097, 34.7222, 94.2705)
Luminance0.3472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E171FA #8AFA71
analogous
#9C71FA #E171FA #FA71CE
triadic
#E171FA #FAE171 #71FAE1
tetradic
#E171FA #FA9C71 #8AFA71 #71CEFA
square
#E171FA #FA9C71 #8AFA71 #71CEFA
split-complementary
#E171FA #CEFA71 #71FA9C
monochromatic
#BF08E8 #D536F8 #E171FA #EDACFC #F9E1FE

Accessibility & contrast

On white

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

On black

7.94
#E171FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E171FA
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E171FA#FFFFFF#000000##000000
##E171FA1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FE
Deuteranopia (green-blind)
#7CA3F6
Tritanopia (blue-blind)
#E285AB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e171fa;
/* rgb */ color: rgb(225, 113, 250);
/* oklch */ color: oklch(73.0% 0.216 320.0);
Tailwind
colors: {
  custom: {
    50: '#ed9efc',
    500: '#e171fa',
    950: '#000000',
  },
}
SCSS
$custom: #e171fa;
$custom-light: #ed9efc;
$custom-dark: #000000;
JSON
{
  "hex": "#e171fa",
  "rgb": {
    "r": 225,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 289.051,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72951,
    "c": 0.21648,
    "h": 320
  },
  "luminance": 0.3472
}

Semantic roles & 50–950 ramp

primary
#E171FA
secondary
#D8F5D1
accent
#E6002A
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E171FA

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

Preview Lab → · Contrast checker → · Palette generator →

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