#E178DD#E178DD

#E178DD is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.5% C 0.179 H 328.6°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#E178DD
RGBrgb(225, 120, 221)
HSLhsl(302, 64%, 68%)
HSVhsv(302, 47%, 88%)
CMYKcmyk(0%, 46.7%, 1.8%, 11.8%)
CIE-LABlab(65.49, 54.58, -34.08)
CIE-LCHlch(65.49, 64.35, 328.02°)
OKLaboklab(72.49% 0.1528 -0.0931)
OKLCHoklch(72.49% 0.179 328.6)
XYZxyz(50.8182, 34.6637, 72.4066)
Luminance0.3466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E178DD #78E17C
analogous
#B178E1 #E178DD #E178A8
triadic
#E178DD #DDE178 #78DDE1
tetradic
#E178DD #E1B178 #78E17C #78A8E1
square
#E178DD #E1B178 #78E17C #78A8E1
split-complementary
#E178DD #A8E178 #78E1B1
monochromatic
#B628B1 #D646D0 #E178DD #ECAAEA #F7DCF6

Accessibility & contrast

On white

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

On black

7.93
#E178DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E178DD
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E178DD#FFFFFF#000000##000000
##E178DD1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e178dd;
/* rgb */ color: rgb(225, 120, 221);
/* oklch */ color: oklch(72.5% 0.179 328.6);
Tailwind
colors: {
  custom: {
    50: '#eca2e8',
    500: '#e178dd',
    950: '#000000',
  },
}
SCSS
$custom: #e178dd;
$custom-light: #eca2e8;
$custom-dark: #000000;
JSON
{
  "hex": "#e178dd",
  "rgb": {
    "r": 225,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 302.286,
    "s": 63.636,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72488,
    "c": 0.17899,
    "h": 328.6
  },
  "luminance": 0.34661
}

Semantic roles & 50–950 ramp

primary
#E178DD
secondary
#CAEBCB
accent
#CB211A
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E178DD

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

Preview Lab → · Contrast checker → · Palette generator →

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