#E178FB#E178FB

#E178FB is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 73.9% C 0.207 H 319.4°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#E178FB
RGBrgb(225, 120, 251)
HSLhsl(288, 94%, 73%)
HSVhsv(288, 52%, 98%)
CMYKcmyk(10.4%, 52.2%, 0%, 1.6%)
CIE-LABlab(66.83, 60.08, -48.55)
CIE-LCHlch(66.83, 77.24, 321.06°)
OKLaboklab(73.92% 0.157 -0.1348)
OKLCHoklch(73.92% 0.207 319.4)
XYZxyz(55.1782, 36.4077, 95.3689)
Luminance0.3641 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E178FB #92FB78
analogous
#A078FB #E178FB #FB78D3
triadic
#E178FB #FBE178 #78FBE1
tetradic
#E178FB #FBA078 #92FB78 #78D3FB
square
#E178FB #FBA078 #92FB78 #78D3FB
split-complementary
#E178FB #D3FB78 #78FBA0
monochromatic
#C307F1 #D43DF9 #E178FB #EEB3FD #F8E1FE

Accessibility & contrast

On white

2.54
#E178FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#E178FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E178FB
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E178FB#FFFFFF#000000##000000
##E178FB1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFF
Deuteranopia (green-blind)
#81A6F7
Tritanopia (blue-blind)
#E28BAF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e178fb;
/* rgb */ color: rgb(225, 120, 251);
/* oklch */ color: oklch(73.9% 0.207 319.4);
Tailwind
colors: {
  custom: {
    50: '#eda3fd',
    500: '#e178fb',
    950: '#000000',
  },
}
SCSS
$custom: #e178fb;
$custom-light: #eda3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e178fb",
  "rgb": {
    "r": 225,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 288.092,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73921,
    "c": 0.20694,
    "h": 319.4
  },
  "luminance": 0.36406
}

Semantic roles & 50–950 ramp

primary
#E178FB
secondary
#DBF6D5
accent
#E6002E
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E178FB

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

Preview Lab → · Contrast checker → · Palette generator →

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