#E171F6#E171F6

#E171F6 is a light, highly saturated purple. Relative luminance 0.345; OKLCH L 72.7% C 0.213 H 321.1°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#E171F6
RGBrgb(225, 113, 246)
HSLhsl(291, 88%, 70%)
HSVhsv(291, 54%, 96%)
CMYKcmyk(8.5%, 54.1%, 0%, 3.5%)
CIE-LABlab(65.34, 62.47, -48.15)
CIE-LCHlch(65.34, 78.88, 322.37°)
OKLaboklab(72.75% 0.1656 -0.1336)
OKLCHoklch(72.75% 0.213 321.1)
XYZxyz(53.5891, 34.4740, 91.0023)
Luminance0.3447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E171F6 #86F671
analogous
#9E71F6 #E171F6 #F671C9
triadic
#E171F6 #F6E171 #71F6E1
tetradic
#E171F6 #F69E71 #86F671 #71C9F6
square
#E171F6 #F69E71 #86F671 #71C9F6
split-complementary
#E171F6 #C9F671 #71F69E
monochromatic
#BE0EDE #D537F2 #E171F6 #EDABFA #F9E2FD

Accessibility & contrast

On white

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

On black

7.89
#E171F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E171F6
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E171F6#FFFFFF#000000##000000
##E171F61.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5997FA
Deuteranopia (green-blind)
#7EA3F2
Tritanopia (blue-blind)
#E384A9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e171f6;
/* rgb */ color: rgb(225, 113, 246);
/* oklch */ color: oklch(72.7% 0.213 321.1);
Tailwind
colors: {
  custom: {
    50: '#ed9ef9',
    500: '#e171f6',
    950: '#000000',
  },
}
SCSS
$custom: #e171f6;
$custom-light: #ed9ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#e171f6",
  "rgb": {
    "r": 225,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 290.526,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72745,
    "c": 0.21273,
    "h": 321.1
  },
  "luminance": 0.34472
}

Semantic roles & 50–950 ramp

primary
#E171F6
secondary
#D5F4CF
accent
#E50125
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E171F6

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

Preview Lab → · Contrast checker → · Palette generator →

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