#E978D7#E978D7

#E978D7 is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.2% C 0.179 H 333.5°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#E978D7
RGBrgb(233, 120, 215)
HSLhsl(310, 72%, 69%)
HSVhsv(310, 48%, 91%)
CMYKcmyk(0%, 48.5%, 7.7%, 8.6%)
CIE-LABlab(66.26, 55.88, -29.45)
CIE-LCHlch(66.26, 63.17, 332.21°)
OKLaboklab(73.2% 0.1605 -0.0799)
OKLCHoklch(73.2% 0.179 333.5)
XYZxyz(52.5864, 35.6662, 68.3913)
Luminance0.3566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E978D7 #78E98A
analogous
#C378E9 #E978D7 #E9789E
triadic
#E978D7 #D7E978 #78D7E9
tetradic
#E978D7 #E9C378 #78E98A #789EE9
square
#E978D7 #E9C378 #78E98A #789EE9
split-complementary
#E978D7 #9EE978 #78E9C3
monochromatic
#C620AC #E043C7 #E978D7 #F2ADE7 #FAE1F6

Accessibility & contrast

On white

2.58
#E978D7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#E978D7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E978D7
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E978D7#FFFFFF#000000##000000
##E978D71.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7697DA
Deuteranopia (green-blind)
#96A7D4
Tritanopia (blue-blind)
#F27F9E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #e978d7;
/* rgb */ color: rgb(233, 120, 215);
/* oklch */ color: oklch(73.2% 0.179 333.5);
Tailwind
colors: {
  custom: {
    50: '#f2a3e3',
    500: '#e978d7',
    950: '#000000',
  },
}
SCSS
$custom: #e978d7;
$custom-light: #f2a3e3;
$custom-dark: #000000;
JSON
{
  "hex": "#e978d7",
  "rgb": {
    "r": 233,
    "g": 120,
    "b": 215
  },
  "hsl": {
    "h": 309.558,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.732,
    "c": 0.17927,
    "h": 333.5
  },
  "luminance": 0.35663
}

Semantic roles & 50–950 ramp

primary
#E978D7
secondary
#CEEFD3
accent
#D43011
background
#FFFAFD
surface
#FEF4FB
border
#D6CED4
text
#170F15
muted
#857F83

Preview Lab

Preview with #E978D7

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

Preview Lab → · Contrast checker → · Palette generator →

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