#E978EF#E978EF

#E978EF is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.3% C 0.200 H 325.4°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#E978EF
RGBrgb(233, 120, 239)
HSLhsl(297, 79%, 70%)
HSVhsv(297, 50%, 94%)
CMYKcmyk(2.5%, 49.8%, 0%, 6.3%)
CIE-LABlab(67.27, 59.99, -41.19)
CIE-LCHlch(67.27, 72.77, 325.53°)
OKLaboklab(74.28% 0.1646 -0.1134)
OKLCHoklch(74.28% 0.2 325.4)
XYZxyz(55.8995, 36.9915, 85.8403)
Luminance0.3699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E978EF #7EEF78
analogous
#AD78EF #E978EF #EF78B9
triadic
#E978EF #EFE978 #78EFE9
tetradic
#E978EF #EFAD78 #7EEF78 #78B9EF
square
#E978EF #EFAD78 #7EEF78 #78B9EF
split-complementary
#E978EF #B9EF78 #78EFAD
monochromatic
#CA19D4 #E041E9 #E978EF #F2AFF5 #FBE4FC

Accessibility & contrast

On white

2.50
#E978EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#E978EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E978EF
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E978EF#FFFFFF#000000##000000
##E978EF1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9BF3
Deuteranopia (green-blind)
#8CA9EB
Tritanopia (blue-blind)
#EE86A9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #e978ef;
/* rgb */ color: rgb(233, 120, 239);
/* oklch */ color: oklch(74.3% 0.200 325.4);
Tailwind
colors: {
  custom: {
    50: '#f2a3f4',
    500: '#e978ef',
    950: '#000000',
  },
}
SCSS
$custom: #e978ef;
$custom-light: #f2a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#e978ef",
  "rgb": {
    "r": 233,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 296.975,
    "s": 78.808,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74276,
    "c": 0.19988,
    "h": 325.4
  },
  "luminance": 0.36989
}

Semantic roles & 50–950 ramp

primary
#E978EF
secondary
#D3F2D1
accent
#DB0A15
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E978EF

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

Preview Lab → · Contrast checker → · Palette generator →

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