#E172F7#E172F7

#E172F7 is a light, highly saturated purple. Relative luminance 0.348; OKLCH L 72.9% C 0.212 H 320.8°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#E172F7
RGBrgb(225, 114, 247)
HSLhsl(290, 89%, 71%)
HSVhsv(290, 54%, 97%)
CMYKcmyk(8.9%, 53.8%, 0%, 3.1%)
CIE-LABlab(65.56, 62.19, -48.35)
CIE-LCHlch(65.56, 78.77, 322.13°)
OKLaboklab(72.93% 0.1644 -0.1342)
OKLCHoklch(72.93% 0.212 320.8)
XYZxyz(53.8552, 34.7599, 91.8502)
Luminance0.3476 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E172F7 #88F772
analogous
#9E72F7 #E172F7 #F772CA
triadic
#E172F7 #F7E172 #72F7E1
tetradic
#E172F7 #F79E72 #88F772 #72CAF7
square
#E172F7 #F79E72 #88F772 #72CAF7
split-complementary
#E172F7 #CAF772 #72F79E
monochromatic
#BF0DE2 #D538F4 #E172F7 #EDACFA #F9E2FD

Accessibility & contrast

On white

2.64
#E172F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#E172F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E172F7
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E172F7#FFFFFF#000000##000000
##E172F71.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A97FB
Deuteranopia (green-blind)
#7EA3F3
Tritanopia (blue-blind)
#E385AA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e172f7;
/* rgb */ color: rgb(225, 114, 247);
/* oklch */ color: oklch(72.9% 0.212 320.8);
Tailwind
colors: {
  custom: {
    50: '#ed9ffa',
    500: '#e172f7',
    950: '#000000',
  },
}
SCSS
$custom: #e172f7;
$custom-light: #ed9ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#e172f7",
  "rgb": {
    "r": 225,
    "g": 114,
    "b": 247
  },
  "hsl": {
    "h": 290.075,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72926,
    "c": 0.21218,
    "h": 320.8
  },
  "luminance": 0.34758
}

Semantic roles & 50–950 ramp

primary
#E172F7
secondary
#D6F4D1
accent
#E60026
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E172F7

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

Preview Lab → · Contrast checker → · Palette generator →

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