#E178DF#E178DF

#E178DF is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.6% C 0.181 H 327.9°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#E178DF
RGBrgb(225, 120, 223)
HSLhsl(301, 64%, 68%)
HSVhsv(301, 47%, 88%)
CMYKcmyk(0%, 46.7%, 0.9%, 11.8%)
CIE-LABlab(65.57, 54.93, -35.06)
CIE-LCHlch(65.57, 65.17, 327.45°)
OKLaboklab(72.58% 0.1532 -0.096)
OKLCHoklch(72.58% 0.181 327.9)
XYZxyz(51.0863, 34.7710, 73.8183)
Luminance0.3477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E178DF #78E17A
analogous
#AF78E1 #E178DF #E178AA
triadic
#E178DF #DFE178 #78DFE1
tetradic
#E178DF #E1AF78 #78E17A #78AAE1
square
#E178DF #E1AF78 #78E17A #78AAE1
split-complementary
#E178DF #AAE178 #78E1AF
monochromatic
#B628B3 #D646D3 #E178DF #ECAAEB #F7DCF7

Accessibility & contrast

On white

2.64
#E178DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#E178DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E178DF
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E178DF#FFFFFF#000000##000000
##E178DF1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7096E2
Deuteranopia (green-blind)
#8EA4DC
Tritanopia (blue-blind)
#E782A1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #e178df;
/* rgb */ color: rgb(225, 120, 223);
/* oklch */ color: oklch(72.6% 0.181 327.9);
Tailwind
colors: {
  custom: {
    50: '#eca2e9',
    500: '#e178df',
    950: '#000000',
  },
}
SCSS
$custom: #e178df;
$custom-light: #eca2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#e178df",
  "rgb": {
    "r": 225,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 301.143,
    "s": 63.636,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72578,
    "c": 0.18076,
    "h": 327.9
  },
  "luminance": 0.34768
}

Semantic roles & 50–950 ramp

primary
#E178DF
secondary
#CAEBCB
accent
#CB1D1A
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E178DF

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

Preview Lab → · Contrast checker → · Palette generator →

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