#EA78E2#EA78E2

#EA78E2 is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.8% C 0.189 H 330.0°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#EA78E2
RGBrgb(234, 120, 226)
HSLhsl(304, 73%, 69%)
HSVhsv(304, 49%, 92%)
CMYKcmyk(0%, 48.7%, 3.4%, 8.2%)
CIE-LABlab(66.84, 58.01, -34.66)
CIE-LCHlch(66.84, 67.58, 329.14°)
OKLaboklab(73.8% 0.1637 -0.0947)
OKLCHoklch(73.8% 0.189 330)
XYZxyz(54.3751, 36.4196, 76.1024)
Luminance0.3642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA78E2 #78EA80
analogous
#B978EA #EA78E2 #EA78A9
triadic
#EA78E2 #E2EA78 #78E2EA
tetradic
#EA78E2 #EAB978 #78EA80 #78A9EA
square
#EA78E2 #EAB978 #78EA80 #78A9EA
split-complementary
#EA78E2 #A9EA78 #78EAB9
monochromatic
#C81FBD #E243D7 #EA78E2 #F2ADED #FAE2F9

Accessibility & contrast

On white

2.54
#EA78E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#EA78E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA78E2
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA78E2#FFFFFF#000000##000000
##EA78E21.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7299E6
Deuteranopia (green-blind)
#93A8DF
Tritanopia (blue-blind)
#F182A3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ea78e2;
/* rgb */ color: rgb(234, 120, 226);
/* oklch */ color: oklch(73.8% 0.189 330.0);
Tailwind
colors: {
  custom: {
    50: '#f3a3eb',
    500: '#ea78e2',
    950: '#000000',
  },
}
SCSS
$custom: #ea78e2;
$custom-light: #f3a3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ea78e2",
  "rgb": {
    "r": 234,
    "g": 120,
    "b": 226
  },
  "hsl": {
    "h": 304.211,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.738,
    "c": 0.18909,
    "h": 330
  },
  "luminance": 0.36416
}

Semantic roles & 50–950 ramp

primary
#EA78E2
secondary
#CEEFD1
accent
#D51E10
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EA78E2

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

Preview Lab → · Contrast checker → · Palette generator →

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