#E172F6#E172F6

#E172F6 is a light, highly saturated purple. Relative luminance 0.347; OKLCH L 72.9% C 0.211 H 321.0°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#E172F6
RGBrgb(225, 114, 246)
HSLhsl(290, 88%, 71%)
HSVhsv(290, 54%, 96%)
CMYKcmyk(8.5%, 53.7%, 0%, 3.5%)
CIE-LABlab(65.51, 62.00, -47.88)
CIE-LCHlch(65.51, 78.33, 322.32°)
OKLaboklab(72.87% 0.1643 -0.1328)
OKLCHoklch(72.87% 0.211 321)
XYZxyz(53.7013, 34.6984, 91.0397)
Luminance0.3470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E172F6 #87F672
analogous
#9F72F6 #E172F6 #F672C9
triadic
#E172F6 #F6E172 #72F6E1
tetradic
#E172F6 #F69F72 #87F672 #72C9F6
square
#E172F6 #F69F72 #87F672 #72C9F6
split-complementary
#E172F6 #C9F672 #72F69F
monochromatic
#BE0EDF #D538F2 #E172F6 #EDACFA #F9E2FD

Accessibility & contrast

On white

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

On black

7.94
#E172F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E172F6
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E172F6#FFFFFF#000000##000000
##E172F61.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e172f6;
/* rgb */ color: rgb(225, 114, 246);
/* oklch */ color: oklch(72.9% 0.211 321.0);
Tailwind
colors: {
  custom: {
    50: '#ed9ff9',
    500: '#e172f6',
    950: '#000000',
  },
}
SCSS
$custom: #e172f6;
$custom-light: #ed9ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#e172f6",
  "rgb": {
    "r": 225,
    "g": 114,
    "b": 246
  },
  "hsl": {
    "h": 290.455,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72874,
    "c": 0.21124,
    "h": 321
  },
  "luminance": 0.34696
}

Semantic roles & 50–950 ramp

primary
#E172F6
secondary
#D6F4D0
accent
#E50125
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E172F6

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

Preview Lab → · Contrast checker → · Palette generator →

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