#E172EA#E172EA

#E172EA is a light, highly saturated purple. Relative luminance 0.340; OKLCH L 72.3% C 0.200 H 324.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#E172EA
RGBrgb(225, 114, 234)
HSLhsl(296, 74%, 68%)
HSVhsv(296, 51%, 92%)
CMYKcmyk(3.8%, 51.3%, 0%, 8.2%)
CIE-LABlab(64.95, 59.80, -42.13)
CIE-LCHlch(64.95, 73.15, 324.83°)
OKLaboklab(72.28% 0.163 -0.1162)
OKLCHoklch(72.28% 0.2 324.5)
XYZxyz(51.9186, 33.9853, 81.6510)
Luminance0.3398 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E172EA #7BEA72
analogous
#A572EA #E172EA #EA72B7
triadic
#E172EA #EAE172 #72EAE1
tetradic
#E172EA #EAA572 #7BEA72 #72B7EA
square
#E172EA #EAA572 #7BEA72 #72B7EA
split-complementary
#E172EA #B7EA72 #72EAA5
monochromatic
#B81DC4 #D63DE2 #E172EA #ECA7F2 #F8DDFA

Accessibility & contrast

On white

2.69
#E172EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#E172EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E172EA
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E172EA#FFFFFF#000000##000000
##E172EA1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EE
Deuteranopia (green-blind)
#85A2E7
Tritanopia (blue-blind)
#E581A4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e172ea;
/* rgb */ color: rgb(225, 114, 234);
/* oklch */ color: oklch(72.3% 0.200 324.5);
Tailwind
colors: {
  custom: {
    50: '#ed9ff1',
    500: '#e172ea',
    950: '#000000',
  },
}
SCSS
$custom: #e172ea;
$custom-light: #ed9ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#e172ea",
  "rgb": {
    "r": 225,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 295.5,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72278,
    "c": 0.20016,
    "h": 324.5
  },
  "luminance": 0.33983
}

Semantic roles & 50–950 ramp

primary
#E172EA
secondary
#CCEECA
accent
#D60F1E
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E172EA

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

Preview Lab → · Contrast checker → · Palette generator →

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