#E978F7#E978F7

#E978F7 is a light, highly saturated purple. Relative luminance 0.375; OKLCH L 74.7% C 0.207 H 323.1°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#E978F7
RGBrgb(233, 120, 247)
HSLhsl(293, 89%, 72%)
HSVhsv(293, 51%, 97%)
CMYKcmyk(5.7%, 51.4%, 0%, 3.1%)
CIE-LABlab(67.63, 61.43, -45.02)
CIE-LCHlch(67.63, 76.16, 323.76°)
OKLaboklab(74.66% 0.1657 -0.1244)
OKLCHoklch(74.66% 0.207 323.1)
XYZxyz(57.1076, 37.4747, 92.2029)
Luminance0.3747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E978F7 #86F778
analogous
#AA78F7 #E978F7 #F778C6
triadic
#E978F7 #F7E978 #78F7E9
tetradic
#E978F7 #F7AA78 #86F778 #78C6F7
square
#E978F7 #F7AA78 #86F778 #78C6F7
split-complementary
#E978F7 #C6F778 #78F7AA
monochromatic
#CF0EE7 #E03EF4 #E978F7 #F2B2FA #FAE2FD

Accessibility & contrast

On white

2.47
#E978F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#E978F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E978F7
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E978F7#FFFFFF#000000##000000
##E978F71.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFB
Deuteranopia (green-blind)
#89A9F3
Tritanopia (blue-blind)
#EC89AD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #e978f7;
/* rgb */ color: rgb(233, 120, 247);
/* oklch */ color: oklch(74.7% 0.207 323.1);
Tailwind
colors: {
  custom: {
    50: '#f2a3fa',
    500: '#e978f7',
    950: '#000000',
  },
}
SCSS
$custom: #e978f7;
$custom-light: #f2a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#e978f7",
  "rgb": {
    "r": 233,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 293.386,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.7466,
    "c": 0.20717,
    "h": 323.1
  },
  "luminance": 0.37472
}

Semantic roles & 50–950 ramp

primary
#E978F7
secondary
#D9F5D5
accent
#E50019
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #E978F7

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

Preview Lab → · Contrast checker → · Palette generator →

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