#E978FB#E978FB

#E978FB is a light, highly saturated purple. Relative luminance 0.377; OKLCH L 74.9% C 0.211 H 322.0°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#E978FB
RGBrgb(233, 120, 251)
HSLhsl(292, 94%, 73%)
HSVhsv(292, 52%, 98%)
CMYKcmyk(7.2%, 52.2%, 0%, 1.6%)
CIE-LABlab(67.82, 62.16, -46.93)
CIE-LCHlch(67.82, 77.89, 322.95°)
OKLaboklab(74.86% 0.1661 -0.1299)
OKLCHoklch(74.86% 0.211 322)
XYZxyz(57.7314, 37.7242, 95.4886)
Luminance0.3772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E978FB #8AFB78
analogous
#A878FB #E978FB #FB78CB
triadic
#E978FB #FBE978 #78FBE9
tetradic
#E978FB #FBA878 #8AFB78 #78CBFB
square
#E978FB #FBA878 #8AFB78 #78CBFB
split-complementary
#E978FB #CBFB78 #78FBA8
monochromatic
#D107F1 #DF3DF9 #E978FB #F3B3FD #FAE1FE

Accessibility & contrast

On white

2.46
#E978FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#E978FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E978FB
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E978FB#FFFFFF#000000##000000
##E978FB1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#EC8AAF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e978fb;
/* rgb */ color: rgb(233, 120, 251);
/* oklch */ color: oklch(74.9% 0.211 322.0);
Tailwind
colors: {
  custom: {
    50: '#f3a3fd',
    500: '#e978fb',
    950: '#000000',
  },
}
SCSS
$custom: #e978fb;
$custom-light: #f3a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#e978fb",
  "rgb": {
    "r": 233,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 291.756,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74857,
    "c": 0.21087,
    "h": 322
  },
  "luminance": 0.37722
}

Semantic roles & 50–950 ramp

primary
#E978FB
secondary
#D9F6D5
accent
#E60020
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E978FB

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

Preview Lab → · Contrast checker → · Palette generator →

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