#E178DC#E178DC

#E178DC is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.4% C 0.178 H 329.0°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#E178DC
RGBrgb(225, 120, 220)
HSLhsl(303, 64%, 68%)
HSVhsv(303, 47%, 88%)
CMYKcmyk(0%, 46.7%, 2.2%, 11.8%)
CIE-LABlab(65.44, 54.41, -33.58)
CIE-LCHlch(65.44, 63.94, 328.31°)
OKLaboklab(72.44% 0.1527 -0.0917)
OKLCHoklch(72.44% 0.178 329)
XYZxyz(50.6854, 34.6106, 71.7071)
Luminance0.3461 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E178DC #78E17D
analogous
#B178E1 #E178DC #E178A8
triadic
#E178DC #DCE178 #78DCE1
tetradic
#E178DC #E1B178 #78E17D #78A8E1
square
#E178DC #E1B178 #78E17D #78A8E1
split-complementary
#E178DC #A8E178 #78E1B1
monochromatic
#B628AF #D646CF #E178DC #ECAAE9 #F7DCF6

Accessibility & contrast

On white

2.65
#E178DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#E178DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E178DC
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E178DC#FFFFFF#000000##000000
##E178DC1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7196DF
Deuteranopia (green-blind)
#8FA4D9
Tritanopia (blue-blind)
#E782A0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e178dc;
/* rgb */ color: rgb(225, 120, 220);
/* oklch */ color: oklch(72.4% 0.178 329.0);
Tailwind
colors: {
  custom: {
    50: '#eca2e7',
    500: '#e178dc',
    950: '#000000',
  },
}
SCSS
$custom: #e178dc;
$custom-light: #eca2e7;
$custom-dark: #000000;
JSON
{
  "hex": "#e178dc",
  "rgb": {
    "r": 225,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 302.857,
    "s": 63.636,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72443,
    "c": 0.1781,
    "h": 329
  },
  "luminance": 0.34608
}

Semantic roles & 50–950 ramp

primary
#E178DC
secondary
#CAEBCC
accent
#CB231A
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E178DC

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

Preview Lab → · Contrast checker → · Palette generator →

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