#E171E7#E171E7

#E171E7 is a light, vivid purple. Relative luminance 0.336; OKLCH L 72.0% C 0.199 H 325.5°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#E171E7
RGBrgb(225, 113, 231)
HSLhsl(297, 71%, 67%)
HSVhsv(297, 51%, 91%)
CMYKcmyk(2.6%, 51.1%, 0%, 9.4%)
CIE-LABlab(64.64, 59.74, -40.96)
CIE-LCHlch(64.64, 72.43, 325.56°)
OKLaboklab(72% 0.1639 -0.1128)
OKLCHoklch(72% 0.199 325.5)
XYZxyz(51.3791, 33.5900, 79.3630)
Luminance0.3359 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E171E7 #77E771
analogous
#A671E7 #E171E7 #E771B2
triadic
#E171E7 #E7E171 #71E7E1
tetradic
#E171E7 #E7A671 #77E771 #71B2E7
square
#E171E7 #E7A671 #77E771 #71B2E7
split-complementary
#E171E7 #B2E771 #71E7A6
monochromatic
#B620BE #D63DDE #E171E7 #ECA5F0 #F7DAF9

Accessibility & contrast

On white

2.72
#E171E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#E171E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E171E7
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E171E7#FFFFFF#000000##000000
##E171E71.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6394EB
Deuteranopia (green-blind)
#86A2E4
Tritanopia (blue-blind)
#E67FA2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #e171e7;
/* rgb */ color: rgb(225, 113, 231);
/* oklch */ color: oklch(72.0% 0.199 325.5);
Tailwind
colors: {
  custom: {
    50: '#ed9eef',
    500: '#e171e7',
    950: '#000000',
  },
}
SCSS
$custom: #e171e7;
$custom-light: #ed9eef;
$custom-dark: #000000;
JSON
{
  "hex": "#e171e7",
  "rgb": {
    "r": 225,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 296.949,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72001,
    "c": 0.19899,
    "h": 325.5
  },
  "luminance": 0.33587
}

Semantic roles & 50–950 ramp

primary
#E171E7
secondary
#C9ECC7
accent
#D3121C
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E171E7

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

Preview Lab → · Contrast checker → · Palette generator →

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