#E172FE#E172FE

#E172FE is a light, highly saturated purple. Relative luminance 0.352; OKLCH L 73.3% C 0.219 H 318.9°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#E172FE
RGBrgb(225, 114, 254)
HSLhsl(288, 99%, 72%)
HSVhsv(288, 55%, 100%)
CMYKcmyk(11.4%, 55.1%, 0%, 0.4%)
CIE-LABlab(65.90, 63.51, -51.65)
CIE-LCHlch(65.90, 81.86, 320.88°)
OKLaboklab(73.29% 0.1649 -0.1438)
OKLCHoklch(73.29% 0.219 318.9)
XYZxyz(54.9557, 35.2001, 97.6462)
Luminance0.3520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E172FE #8FFE72
analogous
#9B72FE #E172FE #FE72D5
triadic
#E172FE #FEE172 #72FEE1
tetradic
#E172FE #FE9B72 #8FFE72 #72D5FE
square
#E172FE #FE9B72 #8FFE72 #72D5FE
split-complementary
#E172FE #D5FE72 #72FE9B
monochromatic
#C202F4 #D435FE #E172FE #EEAFFE #F9E1FF

Accessibility & contrast

On white

2.61
#E172FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#E172FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E172FE
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E172FE#FFFFFF#000000##000000
##E172FE1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5499FF
Deuteranopia (green-blind)
#7AA4FA
Tritanopia (blue-blind)
#E187AE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #e172fe;
/* rgb */ color: rgb(225, 114, 254);
/* oklch */ color: oklch(73.3% 0.219 318.9);
Tailwind
colors: {
  custom: {
    50: '#ed9fff',
    500: '#e172fe',
    950: '#000000',
  },
}
SCSS
$custom: #e172fe;
$custom-light: #ed9fff;
$custom-dark: #000000;
JSON
{
  "hex": "#e172fe",
  "rgb": {
    "r": 225,
    "g": 114,
    "b": 254
  },
  "hsl": {
    "h": 287.571,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73288,
    "c": 0.2188,
    "h": 318.9
  },
  "luminance": 0.35198
}

Semantic roles & 50–950 ramp

primary
#E172FE
secondary
#DBF7D4
accent
#E60030
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E172FE

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

Preview Lab → · Contrast checker → · Palette generator →

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