#E172ED#E172ED

#E172ED is a light, highly saturated purple. Relative luminance 0.342; OKLCH L 72.4% C 0.203 H 323.6°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#E172ED
RGBrgb(225, 114, 237)
HSLhsl(294, 77%, 69%)
HSVhsv(294, 52%, 93%)
CMYKcmyk(5.1%, 51.9%, 0%, 7.1%)
CIE-LABlab(65.09, 60.34, -43.58)
CIE-LCHlch(65.09, 74.43, 324.16°)
OKLaboklab(72.42% 0.1633 -0.1204)
OKLCHoklch(72.42% 0.203 323.6)
XYZxyz(52.3533, 34.1592, 83.9401)
Luminance0.3416 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E172ED #7EED72
analogous
#A472ED #E172ED #ED72BC
triadic
#E172ED #EDE172 #72EDE1
tetradic
#E172ED #EDA472 #7EED72 #72BCED
square
#E172ED #EDA472 #7EED72 #72BCED
split-complementary
#E172ED #BCED72 #72EDA4
monochromatic
#B91ACB #D53CE6 #E172ED #EDA8F4 #F8DFFB

Accessibility & contrast

On white

2.68
#E172ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#E172ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E172ED
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E172ED#FFFFFF#000000##000000
##E172ED1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195F1
Deuteranopia (green-blind)
#83A3EA
Tritanopia (blue-blind)
#E582A5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e172ed;
/* rgb */ color: rgb(225, 114, 237);
/* oklch */ color: oklch(72.4% 0.203 323.6);
Tailwind
colors: {
  custom: {
    50: '#ed9ff3',
    500: '#e172ed',
    950: '#000000',
  },
}
SCSS
$custom: #e172ed;
$custom-light: #ed9ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#e172ed",
  "rgb": {
    "r": 225,
    "g": 114,
    "b": 237
  },
  "hsl": {
    "h": 294.146,
    "s": 77.358,
    "l": 68.824
  },
  "oklch": {
    "l": 0.72424,
    "c": 0.2029,
    "h": 323.6
  },
  "luminance": 0.34157
}

Semantic roles & 50–950 ramp

primary
#E172ED
secondary
#CFF0CB
accent
#DA0C20
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E172ED

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

Preview Lab → · Contrast checker → · Palette generator →

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