#E978FC#E978FC

#E978FC is a light, highly saturated purple. Relative luminance 0.378; OKLCH L 74.9% C 0.212 H 321.7°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#E978FC
RGBrgb(233, 120, 252)
HSLhsl(291, 96%, 73%)
HSVhsv(291, 52%, 99%)
CMYKcmyk(7.5%, 52.4%, 0%, 1.2%)
CIE-LABlab(67.86, 62.35, -47.40)
CIE-LCHlch(67.86, 78.32, 322.76°)
OKLaboklab(74.91% 0.1662 -0.1313)
OKLCHoklch(74.91% 0.212 321.7)
XYZxyz(57.8895, 37.7875, 96.3210)
Luminance0.3779 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E978FC #8BFC78
analogous
#A778FC #E978FC #FC78CD
triadic
#E978FC #FCE978 #78FCE9
tetradic
#E978FC #FCA778 #8BFC78 #78CDFC
square
#E978FC #FCA778 #8BFC78 #78CDFC
split-complementary
#E978FC #CDFC78 #78FCA7
monochromatic
#D205F4 #DF3CFB #E978FC #F3B4FD #FAE1FE

Accessibility & contrast

On white

2.45
#E978FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#E978FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E978FC
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E978FC#FFFFFF#000000##000000
##E978FC1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#86AAF8
Tritanopia (blue-blind)
#EB8AAF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e978fc;
/* rgb */ color: rgb(233, 120, 252);
/* oklch */ color: oklch(74.9% 0.212 321.7);
Tailwind
colors: {
  custom: {
    50: '#f3a3fe',
    500: '#e978fc',
    950: '#000000',
  },
}
SCSS
$custom: #e978fc;
$custom-light: #f3a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#e978fc",
  "rgb": {
    "r": 233,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 291.364,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74906,
    "c": 0.21179,
    "h": 321.7
  },
  "luminance": 0.37785
}

Semantic roles & 50–950 ramp

primary
#E978FC
secondary
#D9F7D4
accent
#E60021
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #E978FC

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

Preview Lab → · Contrast checker → · Palette generator →

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