#EA78F7#EA78F7

#EA78F7 is a light, highly saturated purple. Relative luminance 0.376; OKLCH L 74.8% C 0.208 H 323.4°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#EA78F7
RGBrgb(234, 120, 247)
HSLhsl(294, 89%, 72%)
HSVhsv(294, 51%, 97%)
CMYKcmyk(5.3%, 51.4%, 0%, 3.1%)
CIE-LABlab(67.76, 61.70, -44.82)
CIE-LCHlch(67.76, 76.26, 324.00°)
OKLaboklab(74.78% 0.1668 -0.1238)
OKLCHoklch(74.78% 0.208 323.4)
XYZxyz(57.4350, 37.6435, 92.2183)
Luminance0.3764 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA78F7 #85F778
analogous
#AB78F7 #EA78F7 #F778C5
triadic
#EA78F7 #F7EA78 #78F7EA
tetradic
#EA78F7 #F7AB78 #85F778 #78C5F7
square
#EA78F7 #F7AB78 #85F778 #78C5F7
split-complementary
#EA78F7 #C5F778 #78F7AB
monochromatic
#D10EE7 #E13EF4 #EA78F7 #F3B2FA #FBE2FD

Accessibility & contrast

On white

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

On black

8.53
#EA78F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA78F7
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA78F7#FFFFFF#000000##000000
##EA78F71.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#669CFB
Deuteranopia (green-blind)
#89AAF3
Tritanopia (blue-blind)
#EE88AD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ea78f7;
/* rgb */ color: rgb(234, 120, 247);
/* oklch */ color: oklch(74.8% 0.208 323.4);
Tailwind
colors: {
  custom: {
    50: '#f3a3fa',
    500: '#ea78f7',
    950: '#000000',
  },
}
SCSS
$custom: #ea78f7;
$custom-light: #f3a3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ea78f7",
  "rgb": {
    "r": 234,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 293.858,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.74779,
    "c": 0.2077,
    "h": 323.4
  },
  "luminance": 0.37641
}

Semantic roles & 50–950 ramp

primary
#EA78F7
secondary
#D9F5D5
accent
#E50018
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EA78F7

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

Preview Lab → · Contrast checker → · Palette generator →

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