#E172DF#E172DF

#E172DF is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.8% C 0.190 H 328.0°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#E172DF
RGBrgb(225, 114, 223)
HSLhsl(301, 65%, 66%)
HSVhsv(301, 49%, 88%)
CMYKcmyk(0%, 49.3%, 0.9%, 11.8%)
CIE-LABlab(64.46, 57.85, -36.79)
CIE-LCHlch(64.46, 68.55, 327.55°)
OKLaboklab(71.76% 0.1614 -0.1008)
OKLCHoklch(71.76% 0.19 328)
XYZxyz(50.3872, 33.3727, 73.5853)
Luminance0.3337 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E172DF #72E174
analogous
#AC72E1 #E172DF #E172A8
triadic
#E172DF #DFE172 #72DFE1
tetradic
#E172DF #E1AC72 #72E174 #72A8E1
square
#E172DF #E1AC72 #72E174 #72A8E1
split-complementary
#E172DF #A8E172 #72E1AC
monochromatic
#B326B0 #D640D4 #E172DF #ECA4EA #F6D7F6

Accessibility & contrast

On white

2.74
#E172DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#E172DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E172DF
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E172DF#FFFFFF#000000##000000
##E172DF1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6993E3
Deuteranopia (green-blind)
#8AA2DC
Tritanopia (blue-blind)
#E77D9E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #e172df;
/* rgb */ color: rgb(225, 114, 223);
/* oklch */ color: oklch(71.8% 0.190 328.0);
Tailwind
colors: {
  custom: {
    50: '#ed9fe9',
    500: '#e172df',
    950: '#000000',
  },
}
SCSS
$custom: #e172df;
$custom-light: #ed9fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#e172df",
  "rgb": {
    "r": 225,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 301.081,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71757,
    "c": 0.19032,
    "h": 328
  },
  "luminance": 0.3337
}

Semantic roles & 50–950 ramp

primary
#E172DF
secondary
#C5E9C6
accent
#CD1C19
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E172DF

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

Preview Lab → · Contrast checker → · Palette generator →

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