#E178D9#E178D9

#E178D9 is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.3% C 0.175 H 330.1°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#E178D9
RGBrgb(225, 120, 217)
HSLhsl(305, 64%, 68%)
HSVhsv(305, 47%, 88%)
CMYKcmyk(0%, 46.7%, 3.6%, 11.8%)
CIE-LABlab(65.32, 53.89, -32.10)
CIE-LCHlch(65.32, 62.73, 329.22°)
OKLaboklab(72.31% 0.1521 -0.0875)
OKLCHoklch(72.31% 0.175 330.1)
XYZxyz(50.2917, 34.4531, 69.6333)
Luminance0.3445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E178D9 #78E180
analogous
#B478E1 #E178D9 #E178A5
triadic
#E178D9 #D9E178 #78D9E1
tetradic
#E178D9 #E1B478 #78E180 #78A5E1
square
#E178D9 #E1B478 #78E180 #78A5E1
split-complementary
#E178D9 #A5E178 #78E1B4
monochromatic
#B628AB #D646CB #E178D9 #ECAAE7 #F7DCF5

Accessibility & contrast

On white

2.66
#E178D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#E178D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E178D9
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E178D9#FFFFFF#000000##000000
##E178D91.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7395DC
Deuteranopia (green-blind)
#90A4D6
Tritanopia (blue-blind)
#E8819E
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e178d9;
/* rgb */ color: rgb(225, 120, 217);
/* oklch */ color: oklch(72.3% 0.175 330.1);
Tailwind
colors: {
  custom: {
    50: '#eca2e5',
    500: '#e178d9',
    950: '#000000',
  },
}
SCSS
$custom: #e178d9;
$custom-light: #eca2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#e178d9",
  "rgb": {
    "r": 225,
    "g": 120,
    "b": 217
  },
  "hsl": {
    "h": 304.571,
    "s": 63.636,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72311,
    "c": 0.17548,
    "h": 330.1
  },
  "luminance": 0.3445
}

Semantic roles & 50–950 ramp

primary
#E178D9
secondary
#CAEBCD
accent
#CB281A
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#170F15
muted
#857F84

Preview Lab

Preview with #E178D9

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

Preview Lab → · Contrast checker → · Palette generator →

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