#E178EF#E178EF

#E178EF is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.3% C 0.195 H 322.8°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#E178EF
RGBrgb(225, 120, 239)
HSLhsl(293, 79%, 70%)
HSVhsv(293, 50%, 94%)
CMYKcmyk(5.9%, 49.8%, 0%, 6.3%)
CIE-LABlab(66.27, 57.82, -42.83)
CIE-LCHlch(66.27, 71.96, 323.47°)
OKLaboklab(73.33% 0.1557 -0.1182)
OKLCHoklch(73.33% 0.195 322.8)
XYZxyz(53.3462, 35.6749, 85.7206)
Luminance0.3567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E178EF #86EF78
analogous
#A578EF #E178EF #EF78C2
triadic
#E178EF #EFE178 #78EFE1
tetradic
#E178EF #EFA578 #86EF78 #78C2EF
square
#E178EF #EFA578 #86EF78 #78C2EF
split-complementary
#E178EF #C2EF78 #78EFA5
monochromatic
#BE19D4 #D541E9 #E178EF #EDAFF5 #F9E4FC

Accessibility & contrast

On white

2.58
#E178EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#E178EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E178EF
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E178EF#FFFFFF#000000##000000
##E178EF1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#87A5EC
Tritanopia (blue-blind)
#E487A9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e178ef;
/* rgb */ color: rgb(225, 120, 239);
/* oklch */ color: oklch(73.3% 0.195 322.8);
Tailwind
colors: {
  custom: {
    50: '#eda3f4',
    500: '#e178ef',
    950: '#000000',
  },
}
SCSS
$custom: #e178ef;
$custom-light: #eda3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#e178ef",
  "rgb": {
    "r": 225,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 292.941,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.73326,
    "c": 0.19547,
    "h": 322.8
  },
  "luminance": 0.35672
}

Semantic roles & 50–950 ramp

primary
#E178EF
secondary
#D5F2D1
accent
#DB0A23
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E178EF

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

Preview Lab → · Contrast checker → · Palette generator →

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