#E171F7#E171F7

#E171F7 is a light, highly saturated purple. Relative luminance 0.345; OKLCH L 72.8% C 0.214 H 320.8°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#E171F7
RGBrgb(225, 113, 247)
HSLhsl(290, 89%, 71%)
HSVhsv(290, 54%, 97%)
CMYKcmyk(8.9%, 54.3%, 0%, 3.1%)
CIE-LABlab(65.39, 62.66, -48.63)
CIE-LCHlch(65.39, 79.31, 322.18°)
OKLaboklab(72.8% 0.1656 -0.135)
OKLCHoklch(72.8% 0.214 320.8)
XYZxyz(53.7430, 34.5356, 91.8128)
Luminance0.3453 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E171F7 #87F771
analogous
#9E71F7 #E171F7 #F771CA
triadic
#E171F7 #F7E171 #71F7E1
tetradic
#E171F7 #F79E71 #87F771 #71CAF7
square
#E171F7 #F79E71 #87F771 #71CAF7
split-complementary
#E171F7 #CAF771 #71F79E
monochromatic
#BE0DE1 #D537F4 #E171F7 #EDABFA #F9E2FD

Accessibility & contrast

On white

2.66
#E171F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#E171F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E171F7
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E171F7#FFFFFF#000000##000000
##E171F71.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FB
Deuteranopia (green-blind)
#7DA3F3
Tritanopia (blue-blind)
#E384AA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e171f7;
/* rgb */ color: rgb(225, 113, 247);
/* oklch */ color: oklch(72.8% 0.214 320.8);
Tailwind
colors: {
  custom: {
    50: '#ed9efa',
    500: '#e171f7',
    950: '#000000',
  },
}
SCSS
$custom: #e171f7;
$custom-light: #ed9efa;
$custom-dark: #000000;
JSON
{
  "hex": "#e171f7",
  "rgb": {
    "r": 225,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 290.149,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72796,
    "c": 0.21367,
    "h": 320.8
  },
  "luminance": 0.34533
}

Semantic roles & 50–950 ramp

primary
#E171F7
secondary
#D6F4D0
accent
#E60026
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E171F7

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

Preview Lab → · Contrast checker → · Palette generator →

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