#E173DC#E173DC

#E173DC is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.8% C 0.186 H 329.0°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#E173DC
RGBrgb(225, 115, 220)
HSLhsl(303, 65%, 67%)
HSVhsv(303, 49%, 88%)
CMYKcmyk(0%, 48.9%, 2.2%, 11.8%)
CIE-LABlab(64.52, 56.85, -35.03)
CIE-LCHlch(64.52, 66.77, 328.36°)
OKLaboklab(71.75% 0.1596 -0.0958)
OKLCHoklch(71.75% 0.186 329)
XYZxyz(50.0997, 33.4392, 71.5118)
Luminance0.3344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E173DC #73E178
analogous
#AF73E1 #E173DC #E173A5
triadic
#E173DC #DCE173 #73DCE1
tetradic
#E173DC #E1AF73 #73E178 #73A5E1
square
#E173DC #E1AF73 #73E178 #73A5E1
split-complementary
#E173DC #A5E173 #73E1AF
monochromatic
#B326AD #D641CF #E173DC #ECA5E9 #F7D8F5

Accessibility & contrast

On white

2.73
#E173DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#E173DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E173DC
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E173DC#FFFFFF#000000##000000
##E173DC1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C93E0
Deuteranopia (green-blind)
#8CA2D9
Tritanopia (blue-blind)
#E87D9E
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #e173dc;
/* rgb */ color: rgb(225, 115, 220);
/* oklch */ color: oklch(71.8% 0.186 329.0);
Tailwind
colors: {
  custom: {
    50: '#ed9fe7',
    500: '#e173dc',
    950: '#000000',
  },
}
SCSS
$custom: #e173dc;
$custom-light: #ed9fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#e173dc",
  "rgb": {
    "r": 225,
    "g": 115,
    "b": 220
  },
  "hsl": {
    "h": 302.727,
    "s": 64.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71754,
    "c": 0.18613,
    "h": 329
  },
  "luminance": 0.33436
}

Semantic roles & 50–950 ramp

primary
#E173DC
secondary
#C6EAC8
accent
#CD2119
background
#FEFAFE
surface
#FDF3FC
border
#D5CDD5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E173DC

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

Preview Lab → · Contrast checker → · Palette generator →

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