#E172DB#E172DB

#E172DB is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.6% C 0.187 H 329.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#E172DB
RGBrgb(225, 114, 219)
HSLhsl(303, 65%, 66%)
HSVhsv(303, 49%, 88%)
CMYKcmyk(0%, 49.3%, 2.7%, 11.8%)
CIE-LABlab(64.29, 57.16, -34.82)
CIE-LCHlch(64.29, 66.93, 328.65°)
OKLaboklab(71.57% 0.1608 -0.0952)
OKLCHoklch(71.57% 0.187 329.4)
XYZxyz(49.8543, 33.1596, 70.7786)
Luminance0.3316 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E172DB #72E178
analogous
#B072E1 #E172DB #E172A4
triadic
#E172DB #DBE172 #72DBE1
tetradic
#E172DB #E1B072 #72E178 #72A4E1
square
#E172DB #E1B072 #72E178 #72A4E1
split-complementary
#E172DB #A4E172 #72E1B0
monochromatic
#B326AB #D640CE #E172DB #ECA4E8 #F6D7F5

Accessibility & contrast

On white

2.75
#E172DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#E172DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E172DB
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E172DB#FFFFFF#000000##000000
##E172DB1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B92DF
Deuteranopia (green-blind)
#8BA1D8
Tritanopia (blue-blind)
#E87C9D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #e172db;
/* rgb */ color: rgb(225, 114, 219);
/* oklch */ color: oklch(71.6% 0.187 329.4);
Tailwind
colors: {
  custom: {
    50: '#ed9ee6',
    500: '#e172db',
    950: '#000000',
  },
}
SCSS
$custom: #e172db;
$custom-light: #ed9ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#e172db",
  "rgb": {
    "r": 225,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 303.243,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71573,
    "c": 0.18685,
    "h": 329.4
  },
  "luminance": 0.33157
}

Semantic roles & 50–950 ramp

primary
#E172DB
secondary
#C5E9C7
accent
#CD2219
background
#FEFAFE
surface
#FDF3FC
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E172DB

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

Preview Lab → · Contrast checker → · Palette generator →

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