#E171F8#E171F8

#E171F8 is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 72.8% C 0.215 H 320.6°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#E171F8
RGBrgb(225, 113, 248)
HSLhsl(290, 91%, 71%)
HSVhsv(290, 54%, 97%)
CMYKcmyk(9.3%, 54.4%, 0%, 2.7%)
CIE-LABlab(65.43, 62.85, -49.10)
CIE-LCHlch(65.43, 79.75, 322.00°)
OKLaboklab(72.85% 0.1657 -0.1363)
OKLCHoklch(72.85% 0.215 320.6)
XYZxyz(53.8977, 34.5975, 92.6277)
Luminance0.3459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E171F8 #88F871
analogous
#9D71F8 #E171F8 #F871CB
triadic
#E171F8 #F8E171 #71F8E1
tetradic
#E171F8 #F89D71 #88F871 #71CBF8
square
#E171F8 #F89D71 #88F871 #71CBF8
split-complementary
#E171F8 #CBF871 #71F89D
monochromatic
#BF0BE3 #D537F5 #E171F8 #EDABFB #F9E2FE

Accessibility & contrast

On white

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

On black

7.92
#E171F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E171F8
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E171F8#FFFFFF#000000##000000
##E171F81.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FC
Deuteranopia (green-blind)
#7DA3F4
Tritanopia (blue-blind)
#E385AA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e171f8;
/* rgb */ color: rgb(225, 113, 248);
/* oklch */ color: oklch(72.8% 0.215 320.6);
Tailwind
colors: {
  custom: {
    50: '#ed9efb',
    500: '#e171f8',
    950: '#000000',
  },
}
SCSS
$custom: #e171f8;
$custom-light: #ed9efb;
$custom-dark: #000000;
JSON
{
  "hex": "#e171f8",
  "rgb": {
    "r": 225,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 289.778,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72848,
    "c": 0.21461,
    "h": 320.6
  },
  "luminance": 0.34595
}

Semantic roles & 50–950 ramp

primary
#E171F8
secondary
#D6F5D0
accent
#E60027
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E171F8

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

Preview Lab → · Contrast checker → · Palette generator →

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