#E178FC#E178FC

#E178FC is a light, highly saturated purple. Relative luminance 0.365; OKLCH L 74.0% C 0.208 H 319.1°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#E178FC
RGBrgb(225, 120, 252)
HSLhsl(288, 96%, 73%)
HSVhsv(288, 52%, 99%)
CMYKcmyk(10.7%, 52.4%, 0%, 1.2%)
CIE-LABlab(66.88, 60.27, -49.02)
CIE-LCHlch(66.88, 77.69, 320.88°)
OKLaboklab(73.97% 0.1571 -0.1361)
OKLCHoklch(73.97% 0.208 319.1)
XYZxyz(55.3362, 36.4709, 96.2013)
Luminance0.3647 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E178FC #93FC78
analogous
#9F78FC #E178FC #FC78D5
triadic
#E178FC #FCE178 #78FCE1
tetradic
#E178FC #FC9F78 #93FC78 #78D5FC
square
#E178FC #FC9F78 #93FC78 #78D5FC
split-complementary
#E178FC #D5FC78 #78FC9F
monochromatic
#C305F4 #D43CFB #E178FC #EEB4FD #F8E1FE

Accessibility & contrast

On white

2.53
#E178FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#E178FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E178FC
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E178FC#FFFFFF#000000##000000
##E178FC1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#80A6F8
Tritanopia (blue-blind)
#E28BAF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e178fc;
/* rgb */ color: rgb(225, 120, 252);
/* oklch */ color: oklch(74.0% 0.208 319.1);
Tailwind
colors: {
  custom: {
    50: '#eda3fe',
    500: '#e178fc',
    950: '#000000',
  },
}
SCSS
$custom: #e178fc;
$custom-light: #eda3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e178fc",
  "rgb": {
    "r": 225,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 287.727,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73972,
    "c": 0.2079,
    "h": 319.1
  },
  "luminance": 0.36469
}

Semantic roles & 50–950 ramp

primary
#E178FC
secondary
#DBF7D4
accent
#E6002F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E178FC

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

Preview Lab → · Contrast checker → · Palette generator →

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