#E978D8#E978D8

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

Color values

HEX#E978D8
RGBrgb(233, 120, 216)
HSLhsl(309, 72%, 69%)
HSVhsv(309, 48%, 91%)
CMYKcmyk(0%, 48.5%, 7.3%, 8.6%)
CIE-LABlab(66.30, 56.05, -29.94)
CIE-LCHlch(66.30, 63.55, 331.89°)
OKLaboklab(73.24% 0.1607 -0.0813)
OKLCHoklch(73.24% 0.18 333.2)
XYZxyz(52.7153, 35.7178, 69.0701)
Luminance0.3571 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E978D8 #78E989
analogous
#C278E9 #E978D8 #E978A0
triadic
#E978D8 #D8E978 #78D8E9
tetradic
#E978D8 #E9C278 #78E989 #78A0E9
square
#E978D8 #E9C278 #78E989 #78A0E9
split-complementary
#E978D8 #A0E978 #78E9C2
monochromatic
#C620AD #E043C9 #E978D8 #F2ADE7 #FAE1F6

Accessibility & contrast

On white

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

On black

8.14
#E978D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E978D8
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E978D8#FFFFFF#000000##000000
##E978D81.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e978d8;
/* rgb */ color: rgb(233, 120, 216);
/* oklch */ color: oklch(73.2% 0.180 333.2);
Tailwind
colors: {
  custom: {
    50: '#f2a3e4',
    500: '#e978d8',
    950: '#000000',
  },
}
SCSS
$custom: #e978d8;
$custom-light: #f2a3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#e978d8",
  "rgb": {
    "r": 233,
    "g": 120,
    "b": 216
  },
  "hsl": {
    "h": 309.027,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73243,
    "c": 0.18007,
    "h": 333.2
  },
  "luminance": 0.35714
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E978D8

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

Preview Lab → · Contrast checker → · Palette generator →

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