#E172FB#E172FB

#E172FB is a light, highly saturated purple. Relative luminance 0.350; OKLCH L 73.1% C 0.216 H 319.7°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#E172FB
RGBrgb(225, 114, 251)
HSLhsl(289, 94%, 72%)
HSVhsv(289, 55%, 98%)
CMYKcmyk(10.4%, 54.6%, 0%, 1.6%)
CIE-LABlab(65.76, 62.94, -50.24)
CIE-LCHlch(65.76, 80.53, 321.40°)
OKLaboklab(73.13% 0.1647 -0.1397)
OKLCHoklch(73.13% 0.216 319.7)
XYZxyz(54.4791, 35.0095, 95.1359)
Luminance0.3501 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E172FB #8CFB72
analogous
#9D72FB #E172FB #FB72D1
triadic
#E172FB #FBE172 #72FBE1
tetradic
#E172FB #FB9D72 #8CFB72 #72D1FB
square
#E172FB #FB9D72 #8CFB72 #72D1FB
split-complementary
#E172FB #D1FB72 #72FB9D
monochromatic
#C007EC #D436F9 #E172FB #EEAEFD #F9E1FE

Accessibility & contrast

On white

2.62
#E172FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#E172FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E172FB
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E172FB#FFFFFF#000000##000000
##E172FB1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#7CA4F7
Tritanopia (blue-blind)
#E286AC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #e172fb;
/* rgb */ color: rgb(225, 114, 251);
/* oklch */ color: oklch(73.1% 0.216 319.7);
Tailwind
colors: {
  custom: {
    50: '#ed9ffd',
    500: '#e172fb',
    950: '#000000',
  },
}
SCSS
$custom: #e172fb;
$custom-light: #ed9ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#e172fb",
  "rgb": {
    "r": 225,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 288.613,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73132,
    "c": 0.21594,
    "h": 319.7
  },
  "luminance": 0.35007
}

Semantic roles & 50–950 ramp

primary
#E172FB
secondary
#D9F6D3
accent
#E6002C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E172FB

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

Preview Lab → · Contrast checker → · Palette generator →

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