#EA78F2#EA78F2

#EA78F2 is a light, highly saturated purple. Relative luminance 0.373; OKLCH L 74.5% C 0.203 H 324.9°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#EA78F2
RGBrgb(234, 120, 242)
HSLhsl(296, 82%, 71%)
HSVhsv(296, 50%, 95%)
CMYKcmyk(3.3%, 50.4%, 0%, 5.1%)
CIE-LABlab(67.53, 60.80, -42.43)
CIE-LCHlch(67.53, 74.13, 325.09°)
OKLaboklab(74.54% 0.1661 -0.1169)
OKLCHoklch(74.54% 0.203 324.9)
XYZxyz(56.6738, 37.3391, 88.2091)
Luminance0.3734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA78F2 #80F278
analogous
#AD78F2 #EA78F2 #F278BD
triadic
#EA78F2 #F2EA78 #78F2EA
tetradic
#EA78F2 #F2AD78 #80F278 #78BDF2
square
#EA78F2 #F2AD78 #80F278 #78BDF2
split-complementary
#EA78F2 #BDF278 #78F2AD
monochromatic
#CE15DB #E140ED #EA78F2 #F3B0F7 #FBE3FC

Accessibility & contrast

On white

2.48
#EA78F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#EA78F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA78F2
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA78F2#FFFFFF#000000##000000
##EA78F21.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ea78f2;
/* rgb */ color: rgb(234, 120, 242);
/* oklch */ color: oklch(74.5% 0.203 324.9);
Tailwind
colors: {
  custom: {
    50: '#f3a3f7',
    500: '#ea78f2',
    950: '#000000',
  },
}
SCSS
$custom: #ea78f2;
$custom-light: #f3a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ea78f2",
  "rgb": {
    "r": 234,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 296.066,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74538,
    "c": 0.20315,
    "h": 324.9
  },
  "luminance": 0.37336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EA78F2

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

Preview Lab → · Contrast checker → · Palette generator →

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