#E978F2#E978F2

#E978F2 is a light, highly saturated purple. Relative luminance 0.372; OKLCH L 74.4% C 0.203 H 324.5°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#E978F2
RGBrgb(233, 120, 242)
HSLhsl(296, 82%, 71%)
HSVhsv(296, 50%, 95%)
CMYKcmyk(3.7%, 50.4%, 0%, 5.1%)
CIE-LABlab(67.40, 60.53, -42.63)
CIE-LCHlch(67.40, 74.03, 324.84°)
OKLaboklab(74.42% 0.165 -0.1175)
OKLCHoklch(74.42% 0.203 324.5)
XYZxyz(56.3464, 37.1702, 88.1938)
Luminance0.3717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E978F2 #81F278
analogous
#AC78F2 #E978F2 #F278BE
triadic
#E978F2 #F2E978 #78F2E9
tetradic
#E978F2 #F2AC78 #81F278 #78BEF2
square
#E978F2 #F2AC78 #81F278 #78BEF2
split-complementary
#E978F2 #BEF278 #78F2AC
monochromatic
#CC15DB #E040ED #E978F2 #F2B0F7 #FAE3FC

Accessibility & contrast

On white

2.49
#E978F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#E978F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E978F2
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E978F2#FFFFFF#000000##000000
##E978F21.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#699BF6
Deuteranopia (green-blind)
#8BA9EE
Tritanopia (blue-blind)
#ED87AA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #e978f2;
/* rgb */ color: rgb(233, 120, 242);
/* oklch */ color: oklch(74.4% 0.203 324.5);
Tailwind
colors: {
  custom: {
    50: '#f2a3f7',
    500: '#e978f2',
    950: '#000000',
  },
}
SCSS
$custom: #e978f2;
$custom-light: #f2a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#e978f2",
  "rgb": {
    "r": 233,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 295.574,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74418,
    "c": 0.2026,
    "h": 324.5
  },
  "luminance": 0.37167
}

Semantic roles & 50–950 ramp

primary
#E978F2
secondary
#D5F3D3
accent
#DF0717
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #E978F2

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

Preview Lab → · Contrast checker → · Palette generator →

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