#E172E9#E172E9

#E172E9 is a light, vivid purple. Relative luminance 0.339; OKLCH L 72.2% C 0.199 H 324.8°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#E172E9
RGBrgb(225, 114, 233)
HSLhsl(296, 73%, 68%)
HSVhsv(296, 51%, 91%)
CMYKcmyk(3.4%, 51.1%, 0%, 8.6%)
CIE-LABlab(64.91, 59.62, -41.65)
CIE-LCHlch(64.91, 72.73, 325.06°)
OKLaboklab(72.23% 0.1628 -0.1148)
OKLCHoklch(72.23% 0.199 324.8)
XYZxyz(51.7754, 33.9280, 80.8966)
Luminance0.3392 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E172E9 #7AE972
analogous
#A572E9 #E172E9 #E972B6
triadic
#E172E9 #E9E172 #72E9E1
tetradic
#E172E9 #E9A572 #7AE972 #72B6E9
square
#E172E9 #E9A572 #7AE972 #72B6E9
split-complementary
#E172E9 #B6E972 #72E9A5
monochromatic
#B71EC2 #D63DE1 #E172E9 #ECA7F1 #F8DCFA

Accessibility & contrast

On white

2.70
#E172E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#E172E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E172E9
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E172E9#FFFFFF#000000##000000
##E172E91.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6395ED
Deuteranopia (green-blind)
#85A2E6
Tritanopia (blue-blind)
#E581A3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #e172e9;
/* rgb */ color: rgb(225, 114, 233);
/* oklch */ color: oklch(72.2% 0.199 324.8);
Tailwind
colors: {
  custom: {
    50: '#ed9ff0',
    500: '#e172e9',
    950: '#000000',
  },
}
SCSS
$custom: #e172e9;
$custom-light: #ed9ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#e172e9",
  "rgb": {
    "r": 225,
    "g": 114,
    "b": 233
  },
  "hsl": {
    "h": 295.966,
    "s": 73.006,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72229,
    "c": 0.19925,
    "h": 324.8
  },
  "luminance": 0.33925
}

Semantic roles & 50–950 ramp

primary
#E172E9
secondary
#CCEEC9
accent
#D5101E
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E172E9

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

Preview Lab → · Contrast checker → · Palette generator →

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