#E978E7#E978E7

#E978E7 is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.9% C 0.193 H 328.0°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#E978E7
RGBrgb(233, 120, 231)
HSLhsl(301, 72%, 69%)
HSVhsv(301, 48%, 91%)
CMYKcmyk(0%, 48.5%, 0.9%, 8.6%)
CIE-LABlab(66.92, 58.58, -37.32)
CIE-LCHlch(66.92, 69.46, 327.50°)
OKLaboklab(73.9% 0.1634 -0.1023)
OKLCHoklch(73.9% 0.193 328)
XYZxyz(54.7437, 36.5291, 79.7532)
Luminance0.3653 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E978E7 #78E97A
analogous
#B378E9 #E978E7 #E978AF
triadic
#E978E7 #E7E978 #78E7E9
tetradic
#E978E7 #E9B378 #78E97A #78AFE9
square
#E978E7 #E9B378 #78E97A #78AFE9
split-complementary
#E978E7 #AFE978 #78E9B3
monochromatic
#C620C3 #E043DE #E978E7 #F2ADF0 #FAE1FA

Accessibility & contrast

On white

2.53
#E978E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#E978E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E978E7
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E978E7#FFFFFF#000000##000000
##E978E71.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F99EB
Deuteranopia (green-blind)
#90A8E4
Tritanopia (blue-blind)
#EF84A5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e978e7;
/* rgb */ color: rgb(233, 120, 231);
/* oklch */ color: oklch(73.9% 0.193 328.0);
Tailwind
colors: {
  custom: {
    50: '#f2a3ef',
    500: '#e978e7',
    950: '#000000',
  },
}
SCSS
$custom: #e978e7;
$custom-light: #f2a3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#e978e7",
  "rgb": {
    "r": 233,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 301.062,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.73904,
    "c": 0.19278,
    "h": 328
  },
  "luminance": 0.36526
}

Semantic roles & 50–950 ramp

primary
#E978E7
secondary
#CEEFCF
accent
#D41511
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #E978E7

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

Preview Lab → · Contrast checker → · Palette generator →

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