#E172E7#E172E7

#E172E7 is a light, vivid purple. Relative luminance 0.338; OKLCH L 72.1% C 0.197 H 325.4°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#E172E7
RGBrgb(225, 114, 231)
HSLhsl(297, 71%, 68%)
HSVhsv(297, 51%, 91%)
CMYKcmyk(2.6%, 50.6%, 0%, 9.4%)
CIE-LABlab(64.81, 59.26, -40.68)
CIE-LCHlch(64.81, 71.88, 325.53°)
OKLaboklab(72.13% 0.1626 -0.112)
OKLCHoklch(72.13% 0.197 325.4)
XYZxyz(51.4913, 33.8144, 79.4004)
Luminance0.3381 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E172E7 #78E772
analogous
#A672E7 #E172E7 #E772B3
triadic
#E172E7 #E7E172 #72E7E1
tetradic
#E172E7 #E7A672 #78E772 #72B3E7
square
#E172E7 #E7A672 #78E772 #72B3E7
split-complementary
#E172E7 #B3E772 #72E7A6
monochromatic
#B620BE #D63EDE #E172E7 #ECA6F0 #F7DBF9

Accessibility & contrast

On white

2.71
#E172E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#E172E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E172E7
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E172E7#FFFFFF#000000##000000
##E172E71.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6494EB
Deuteranopia (green-blind)
#86A2E4
Tritanopia (blue-blind)
#E680A2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #e172e7;
/* rgb */ color: rgb(225, 114, 231);
/* oklch */ color: oklch(72.1% 0.197 325.4);
Tailwind
colors: {
  custom: {
    50: '#ed9fef',
    500: '#e172e7',
    950: '#000000',
  },
}
SCSS
$custom: #e172e7;
$custom-light: #ed9fef;
$custom-dark: #000000;
JSON
{
  "hex": "#e172e7",
  "rgb": {
    "r": 225,
    "g": 114,
    "b": 231
  },
  "hsl": {
    "h": 296.923,
    "s": 70.909,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72133,
    "c": 0.19744,
    "h": 325.4
  },
  "luminance": 0.33812
}

Semantic roles & 50–950 ramp

primary
#E172E7
secondary
#CAEDC8
accent
#D3131C
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E172E7

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

Preview Lab → · Contrast checker → · Palette generator →

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