#E178D2#E178D2

#E178D2 is a light, vivid purple. Relative luminance 0.341; OKLCH L 72.0% C 0.170 H 332.7°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#E178D2
RGBrgb(225, 120, 210)
HSLhsl(309, 64%, 68%)
HSVhsv(309, 47%, 88%)
CMYKcmyk(0%, 46.7%, 6.7%, 11.8%)
CIE-LABlab(65.04, 52.70, -28.63)
CIE-LCHlch(65.04, 59.97, 331.49°)
OKLaboklab(72.01% 0.1507 -0.0777)
OKLCHoklch(72.01% 0.17 332.7)
XYZxyz(49.4004, 34.0966, 64.9396)
Luminance0.3409 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E178D2 #78E187
analogous
#BB78E1 #E178D2 #E1789E
triadic
#E178D2 #D2E178 #78D2E1
tetradic
#E178D2 #E1BB78 #78E187 #789EE1
square
#E178D2 #E1BB78 #78E187 #789EE1
split-complementary
#E178D2 #9EE178 #78E1BB
monochromatic
#B628A2 #D646C1 #E178D2 #ECAAE3 #F7DCF3

Accessibility & contrast

On white

2.69
#E178D2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#E178D2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E178D2
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E178D2#FFFFFF#000000##000000
##E178D21.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7694D5
Deuteranopia (green-blind)
#93A3CF
Tritanopia (blue-blind)
#E97F9B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #e178d2;
/* rgb */ color: rgb(225, 120, 210);
/* oklch */ color: oklch(72.0% 0.170 332.7);
Tailwind
colors: {
  custom: {
    50: '#eca2e0',
    500: '#e178d2',
    950: '#000000',
  },
}
SCSS
$custom: #e178d2;
$custom-light: #eca2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#e178d2",
  "rgb": {
    "r": 225,
    "g": 120,
    "b": 210
  },
  "hsl": {
    "h": 308.571,
    "s": 63.636,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72009,
    "c": 0.16952,
    "h": 332.7
  },
  "luminance": 0.34094
}

Semantic roles & 50–950 ramp

primary
#E178D2
secondary
#CAEBCF
accent
#CB331A
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #E178D2

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

Preview Lab → · Contrast checker → · Palette generator →

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