#E171F9#E171F9

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

Color values

HEX#E171F9
RGBrgb(225, 113, 249)
HSLhsl(289, 92%, 71%)
HSVhsv(289, 55%, 98%)
CMYKcmyk(9.6%, 54.6%, 0%, 2.4%)
CIE-LABlab(65.48, 63.03, -49.58)
CIE-LCHlch(65.48, 80.19, 321.81°)
OKLaboklab(72.9% 0.1658 -0.1377)
OKLCHoklch(72.9% 0.216 320.3)
XYZxyz(54.0533, 34.6597, 93.4469)
Luminance0.3466 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E171F9 #89F971
analogous
#9D71F9 #E171F9 #F971CD
triadic
#E171F9 #F9E171 #71F9E1
tetradic
#E171F9 #F99D71 #89F971 #71CDF9
square
#E171F9 #F99D71 #89F971 #71CDF9
split-complementary
#E171F9 #CDF971 #71F99D
monochromatic
#BF0AE6 #D536F7 #E171F9 #EDACFB #F9E2FE

Accessibility & contrast

On white

2.65
#E171F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#E171F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E171F9
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E171F9#FFFFFF#000000##000000
##E171F91.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FD
Deuteranopia (green-blind)
#7CA3F5
Tritanopia (blue-blind)
#E285AB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e171f9;
/* rgb */ color: rgb(225, 113, 249);
/* oklch */ color: oklch(72.9% 0.216 320.3);
Tailwind
colors: {
  custom: {
    50: '#ed9efc',
    500: '#e171f9',
    950: '#000000',
  },
}
SCSS
$custom: #e171f9;
$custom-light: #ed9efc;
$custom-dark: #000000;
JSON
{
  "hex": "#e171f9",
  "rgb": {
    "r": 225,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 289.412,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.729,
    "c": 0.21555,
    "h": 320.3
  },
  "luminance": 0.34657
}

Semantic roles & 50–950 ramp

primary
#E171F9
secondary
#D7F5D1
accent
#E60028
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E171F9

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

Preview Lab → · Contrast checker → · Palette generator →

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