#EA78FC#EA78FC

#EA78FC is a light, highly saturated purple. Relative luminance 0.380; OKLCH L 75.0% C 0.212 H 322.0°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#EA78FC
RGBrgb(234, 120, 252)
HSLhsl(292, 96%, 73%)
HSVhsv(292, 52%, 99%)
CMYKcmyk(7.1%, 52.4%, 0%, 1.2%)
CIE-LABlab(67.99, 62.61, -47.19)
CIE-LCHlch(67.99, 78.40, 322.99°)
OKLaboklab(75.02% 0.1673 -0.1307)
OKLCHoklch(75.02% 0.212 322)
XYZxyz(58.2170, 37.9563, 96.3363)
Luminance0.3795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA78FC #8AFC78
analogous
#A878FC #EA78FC #FC78CC
triadic
#EA78FC #FCEA78 #78FCEA
tetradic
#EA78FC #FCA878 #8AFC78 #78CCFC
square
#EA78FC #FCA878 #8AFC78 #78CCFC
split-complementary
#EA78FC #CCFC78 #78FCA8
monochromatic
#D405F4 #E13CFB #EA78FC #F3B4FD #FAE1FE

Accessibility & contrast

On white

2.44
#EA78FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#EA78FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA78FC
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA78FC#FFFFFF#000000##000000
##EA78FC1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#87AAF8
Tritanopia (blue-blind)
#ED8AAF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ea78fc;
/* rgb */ color: rgb(234, 120, 252);
/* oklch */ color: oklch(75.0% 0.212 322.0);
Tailwind
colors: {
  custom: {
    50: '#f3a3fe',
    500: '#ea78fc',
    950: '#000000',
  },
}
SCSS
$custom: #ea78fc;
$custom-light: #f3a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ea78fc",
  "rgb": {
    "r": 234,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 291.818,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75024,
    "c": 0.2123,
    "h": 322
  },
  "luminance": 0.37954
}

Semantic roles & 50–950 ramp

primary
#EA78FC
secondary
#D9F7D4
accent
#E6001F
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #EA78FC

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

Preview Lab → · Contrast checker → · Palette generator →

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