#E171FC#E171FC

#E171FC is a light, highly saturated purple. Relative luminance 0.348; OKLCH L 73.1% C 0.218 H 319.5°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#E171FC
RGBrgb(225, 113, 252)
HSLhsl(288, 96%, 72%)
HSVhsv(288, 55%, 99%)
CMYKcmyk(10.7%, 55.2%, 0%, 1.2%)
CIE-LABlab(65.63, 63.60, -50.99)
CIE-LCHlch(65.63, 81.52, 321.28°)
OKLaboklab(73.06% 0.166 -0.1418)
OKLCHoklch(73.06% 0.218 319.5)
XYZxyz(54.5249, 34.8483, 95.9309)
Luminance0.3485 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E171FC #8CFC71
analogous
#9C71FC #E171FC #FC71D2
triadic
#E171FC #FCE171 #71FCE1
tetradic
#E171FC #FC9C71 #8CFC71 #71D2FC
square
#E171FC #FC9C71 #8CFC71 #71D2FC
split-complementary
#E171FC #D2FC71 #71FC9C
monochromatic
#C005EE #D435FB #E171FC #EEADFD #F9E1FE

Accessibility & contrast

On white

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

On black

7.97
#E171FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E171FC
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E171FC#FFFFFF#000000##000000
##E171FC1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e171fc;
/* rgb */ color: rgb(225, 113, 252);
/* oklch */ color: oklch(73.1% 0.218 319.5);
Tailwind
colors: {
  custom: {
    50: '#ed9efe',
    500: '#e171fc',
    950: '#000000',
  },
}
SCSS
$custom: #e171fc;
$custom-light: #ed9efe;
$custom-dark: #000000;
JSON
{
  "hex": "#e171fc",
  "rgb": {
    "r": 225,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 288.345,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73056,
    "c": 0.21837,
    "h": 319.5
  },
  "luminance": 0.34846
}

Semantic roles & 50–950 ramp

primary
#E171FC
secondary
#D9F6D3
accent
#E6002D
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E171FC

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

Preview Lab → · Contrast checker → · Palette generator →

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