#EA78F8#EA78F8

#EA78F8 is a light, highly saturated purple. Relative luminance 0.377; OKLCH L 74.8% C 0.209 H 323.1°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#EA78F8
RGBrgb(234, 120, 248)
HSLhsl(293, 90%, 72%)
HSVhsv(293, 52%, 97%)
CMYKcmyk(5.6%, 51.6%, 0%, 2.7%)
CIE-LABlab(67.80, 61.88, -45.29)
CIE-LCHlch(67.80, 76.68, 323.80°)
OKLaboklab(74.83% 0.1669 -0.1252)
OKLCHoklch(74.83% 0.209 323.1)
XYZxyz(57.5898, 37.7054, 93.0331)
Luminance0.3770 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA78F8 #86F878
analogous
#AA78F8 #EA78F8 #F878C6
triadic
#EA78F8 #F8EA78 #78F8EA
tetradic
#EA78F8 #F8AA78 #86F878 #78C6F8
square
#EA78F8 #F8AA78 #86F878 #78C6F8
split-complementary
#EA78F8 #C6F878 #78F8AA
monochromatic
#D10CE9 #E13EF5 #EA78F8 #F3B2FB #FAE2FD

Accessibility & contrast

On white

2.46
#EA78F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#EA78F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA78F8
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA78F8#FFFFFF#000000##000000
##EA78F81.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFC
Deuteranopia (green-blind)
#89AAF4
Tritanopia (blue-blind)
#ED89AD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ea78f8;
/* rgb */ color: rgb(234, 120, 248);
/* oklch */ color: oklch(74.8% 0.209 323.1);
Tailwind
colors: {
  custom: {
    50: '#f3a3fb',
    500: '#ea78f8',
    950: '#000000',
  },
}
SCSS
$custom: #ea78f8;
$custom-light: #f3a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ea78f8",
  "rgb": {
    "r": 234,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 293.438,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.74828,
    "c": 0.20861,
    "h": 323.1
  },
  "luminance": 0.37703
}

Semantic roles & 50–950 ramp

primary
#EA78F8
secondary
#D9F6D5
accent
#E60019
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EA78F8

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

Preview Lab → · Contrast checker → · Palette generator →

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