#E172FD#E172FD

#E172FD is a light, highly saturated purple. Relative luminance 0.351; OKLCH L 73.2% C 0.218 H 319.2°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#E172FD
RGBrgb(225, 114, 253)
HSLhsl(288, 97%, 72%)
HSVhsv(288, 55%, 99%)
CMYKcmyk(11.1%, 54.9%, 0%, 0.8%)
CIE-LABlab(65.85, 63.32, -51.18)
CIE-LCHlch(65.85, 81.42, 321.05°)
OKLaboklab(73.24% 0.1649 -0.1424)
OKLCHoklch(73.24% 0.218 319.2)
XYZxyz(54.7960, 35.1363, 96.8050)
Luminance0.3513 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E172FD #8EFD72
analogous
#9C72FD #E172FD #FD72D3
triadic
#E172FD #FDE172 #72FDE1
tetradic
#E172FD #FD9C72 #8EFD72 #72D3FD
square
#E172FD #FD9C72 #8EFD72 #72D3FD
split-complementary
#E172FD #D3FD72 #72FD9C
monochromatic
#C103F1 #D436FC #E172FD #EEAEFE #F9E1FF

Accessibility & contrast

On white

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

On black

8.03
#E172FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E172FD
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E172FD#FFFFFF#000000##000000
##E172FD1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#7BA4F9
Tritanopia (blue-blind)
#E287AD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #e172fd;
/* rgb */ color: rgb(225, 114, 253);
/* oklch */ color: oklch(73.2% 0.218 319.2);
Tailwind
colors: {
  custom: {
    50: '#ed9ffe',
    500: '#e172fd',
    950: '#000000',
  },
}
SCSS
$custom: #e172fd;
$custom-light: #ed9ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#e172fd",
  "rgb": {
    "r": 225,
    "g": 114,
    "b": 253
  },
  "hsl": {
    "h": 287.914,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73236,
    "c": 0.21784,
    "h": 319.2
  },
  "luminance": 0.35134
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E172FD

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

Preview Lab → · Contrast checker → · Palette generator →

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