#E171F2#E171F2

#E171F2 is a light, highly saturated purple. Relative luminance 0.342; OKLCH L 72.5% C 0.209 H 322.2°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#E171F2
RGBrgb(225, 113, 242)
HSLhsl(292, 83%, 70%)
HSVhsv(292, 53%, 95%)
CMYKcmyk(7%, 53.3%, 0%, 5.1%)
CIE-LABlab(65.15, 61.73, -46.25)
CIE-LCHlch(65.15, 77.14, 323.16°)
OKLaboklab(72.54% 0.1652 -0.1281)
OKLCHoklch(72.54% 0.209 322.2)
XYZxyz(52.9818, 34.2311, 87.8037)
Luminance0.3423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E171F2 #82F271
analogous
#A171F2 #E171F2 #F271C3
triadic
#E171F2 #F2E171 #71F2E1
tetradic
#E171F2 #F2A171 #82F271 #71C3F2
square
#E171F2 #F2A171 #82F271 #71C3F2
split-complementary
#E171F2 #C3F271 #71F2A1
monochromatic
#BC14D5 #D539ED #E171F2 #EDA9F7 #F9E1FC

Accessibility & contrast

On white

2.68
#E171F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#E171F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E171F2
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E171F2#FFFFFF#000000##000000
##E171F21.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C96F6
Deuteranopia (green-blind)
#80A3EE
Tritanopia (blue-blind)
#E483A7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e171f2;
/* rgb */ color: rgb(225, 113, 242);
/* oklch */ color: oklch(72.5% 0.209 322.2);
Tailwind
colors: {
  custom: {
    50: '#ed9ef7',
    500: '#e171f2',
    950: '#000000',
  },
}
SCSS
$custom: #e171f2;
$custom-light: #ed9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#e171f2",
  "rgb": {
    "r": 225,
    "g": 113,
    "b": 242
  },
  "hsl": {
    "h": 292.093,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.72542,
    "c": 0.20903,
    "h": 322.2
  },
  "luminance": 0.34229
}

Semantic roles & 50–950 ramp

primary
#E171F2
secondary
#D2F2CD
accent
#E00623
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E171F2

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

Preview Lab → · Contrast checker → · Palette generator →

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