#E178D8#E178D8

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

Color values

HEX#E178D8
RGBrgb(225, 120, 216)
HSLhsl(305, 64%, 68%)
HSVhsv(305, 47%, 88%)
CMYKcmyk(0%, 46.7%, 4%, 11.8%)
CIE-LABlab(65.28, 53.72, -31.61)
CIE-LCHlch(65.28, 62.33, 329.53°)
OKLaboklab(72.27% 0.1519 -0.0861)
OKLCHoklch(72.27% 0.175 330.4)
XYZxyz(50.1620, 34.4012, 68.9504)
Luminance0.3440 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E178D8 #78E181
analogous
#B678E1 #E178D8 #E178A3
triadic
#E178D8 #D8E178 #78D8E1
tetradic
#E178D8 #E1B678 #78E181 #78A3E1
square
#E178D8 #E1B678 #78E181 #78A3E1
split-complementary
#E178D8 #A3E178 #78E1B6
monochromatic
#B628AA #D646CA #E178D8 #ECAAE6 #F7DCF5

Accessibility & contrast

On white

2.67
#E178D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#E178D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E178D8
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E178D8#FFFFFF#000000##000000
##E178D81.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7395DB
Deuteranopia (green-blind)
#91A4D5
Tritanopia (blue-blind)
#E8809E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e178d8;
/* rgb */ color: rgb(225, 120, 216);
/* oklch */ color: oklch(72.3% 0.175 330.4);
Tailwind
colors: {
  custom: {
    50: '#eca2e4',
    500: '#e178d8',
    950: '#000000',
  },
}
SCSS
$custom: #e178d8;
$custom-light: #eca2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#e178d8",
  "rgb": {
    "r": 225,
    "g": 120,
    "b": 216
  },
  "hsl": {
    "h": 305.143,
    "s": 63.636,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72267,
    "c": 0.17462,
    "h": 330.4
  },
  "luminance": 0.34398
}

Semantic roles & 50–950 ramp

primary
#E178D8
secondary
#CAEBCD
accent
#CB291A
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #E178D8

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

Preview Lab → · Contrast checker → · Palette generator →

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