#E978EC#E978EC

#E978EC is a light, vivid purple. Relative luminance 0.368; OKLCH L 74.1% C 0.197 H 326.4°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#E978EC
RGBrgb(233, 120, 236)
HSLhsl(298, 75%, 70%)
HSVhsv(298, 49%, 93%)
CMYKcmyk(1.3%, 49.2%, 0%, 7.5%)
CIE-LABlab(67.14, 59.46, -39.74)
CIE-LCHlch(67.14, 71.52, 326.24°)
OKLaboklab(74.13% 0.1642 -0.1092)
OKLCHoklch(74.13% 0.197 326.4)
XYZxyz(55.4600, 36.8157, 83.5255)
Luminance0.3681 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E978EC #7BEC78
analogous
#AF78EC #E978EC #EC78B5
triadic
#E978EC #ECE978 #78ECE9
tetradic
#E978EC #ECAF78 #7BEC78 #78B5EC
square
#E978EC #ECAF78 #7BEC78 #78B5EC
split-complementary
#E978EC #B5EC78 #78ECAF
monochromatic
#C81DCD #E042E4 #E978EC #F2AEF4 #FAE3FB

Accessibility & contrast

On white

2.51
#E978EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#E978EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E978EC
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E978EC#FFFFFF#000000##000000
##E978EC1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9AF0
Deuteranopia (green-blind)
#8EA9E9
Tritanopia (blue-blind)
#EE85A7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e978ec;
/* rgb */ color: rgb(233, 120, 236);
/* oklch */ color: oklch(74.1% 0.197 326.4);
Tailwind
colors: {
  custom: {
    50: '#f2a3f2',
    500: '#e978ec',
    950: '#000000',
  },
}
SCSS
$custom: #e978ec;
$custom-light: #f2a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e978ec",
  "rgb": {
    "r": 233,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 298.448,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74135,
    "c": 0.19719,
    "h": 326.4
  },
  "luminance": 0.36813
}

Semantic roles & 50–950 ramp

primary
#E978EC
secondary
#D0F0D0
accent
#D70E13
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E978EC

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

Preview Lab → · Contrast checker → · Palette generator →

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