#E172CF#E172CF

#E172CF is a light, vivid purple. Relative luminance 0.325; OKLCH L 71.0% C 0.177 H 333.7°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#E172CF
RGBrgb(225, 114, 207)
HSLhsl(310, 65%, 66%)
HSVhsv(310, 49%, 88%)
CMYKcmyk(0%, 49.3%, 8%, 11.8%)
CIE-LABlab(63.80, 55.14, -28.86)
CIE-LCHlch(63.80, 62.24, 332.37°)
OKLaboklab(71.04% 0.1585 -0.0783)
OKLCHoklch(71.04% 0.177 333.7)
XYZxyz(48.3311, 32.5503, 62.7566)
Luminance0.3255 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E172CF #72E184
analogous
#BC72E1 #E172CF #E17298
triadic
#E172CF #CFE172 #72CFE1
tetradic
#E172CF #E1BC72 #72E184 #7298E1
square
#E172CF #E1BC72 #72E184 #7298E1
split-complementary
#E172CF #98E172 #72E1BC
monochromatic
#B3269C #D640BE #E172CF #ECA4E0 #F6D7F1

Accessibility & contrast

On white

2.80
#E172CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#E172CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E172CF
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E172CF#FFFFFF#000000##000000
##E172CF1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7190D2
Deuteranopia (green-blind)
#90A0CC
Tritanopia (blue-blind)
#EA7997
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #e172cf;
/* rgb */ color: rgb(225, 114, 207);
/* oklch */ color: oklch(71.0% 0.177 333.7);
Tailwind
colors: {
  custom: {
    50: '#ed9ede',
    500: '#e172cf',
    950: '#000000',
  },
}
SCSS
$custom: #e172cf;
$custom-light: #ed9ede;
$custom-dark: #000000;
JSON
{
  "hex": "#e172cf",
  "rgb": {
    "r": 225,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 309.73,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71044,
    "c": 0.17681,
    "h": 333.7
  },
  "luminance": 0.32547
}

Semantic roles & 50–950 ramp

primary
#E172CF
secondary
#C5E9CB
accent
#CD3619
background
#FEFAFD
surface
#FDF3FB
border
#D5CDD4
text
#170F15
muted
#857F83

Preview Lab

Preview with #E172CF

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

Preview Lab → · Contrast checker → · Palette generator →

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