#E978EB#E978EB

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

Color values

HEX#E978EB
RGBrgb(233, 120, 235)
HSLhsl(299, 74%, 70%)
HSVhsv(299, 49%, 92%)
CMYKcmyk(0.9%, 48.9%, 0%, 7.8%)
CIE-LABlab(67.09, 59.28, -39.26)
CIE-LCHlch(67.09, 71.10, 326.49°)
OKLaboklab(74.09% 0.164 -0.1078)
OKLCHoklch(74.09% 0.196 326.7)
XYZxyz(55.3151, 36.7577, 82.7625)
Luminance0.3675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E978EB #7AEB78
analogous
#B078EB #E978EB #EB78B3
triadic
#E978EB #EBE978 #78EBE9
tetradic
#E978EB #EBB078 #7AEB78 #78B3EB
square
#E978EB #EBB078 #7AEB78 #78B3EB
split-complementary
#E978EB #B3EB78 #78EBB0
monochromatic
#C81ECB #E043E3 #E978EB #F2ADF3 #FAE3FB

Accessibility & contrast

On white

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

On black

8.35
#E978EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E978EB
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E978EB#FFFFFF#000000##000000
##E978EB1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEF
Deuteranopia (green-blind)
#8EA8E8
Tritanopia (blue-blind)
#EF85A7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #e978eb;
/* rgb */ color: rgb(233, 120, 235);
/* oklch */ color: oklch(74.1% 0.196 326.7);
Tailwind
colors: {
  custom: {
    50: '#f2a3f2',
    500: '#e978eb',
    950: '#000000',
  },
}
SCSS
$custom: #e978eb;
$custom-light: #f2a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#e978eb",
  "rgb": {
    "r": 233,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 298.957,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74088,
    "c": 0.1963,
    "h": 326.7
  },
  "luminance": 0.36755
}

Semantic roles & 50–950 ramp

primary
#E978EB
secondary
#D0F0CF
accent
#D60F13
background
#FFFAFE
surface
#FEF4FD
border
#D6CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #E978EB

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

Preview Lab → · Contrast checker → · Palette generator →

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