#EA78EB#EA78EB

#EA78EB is a light, vivid purple. Relative luminance 0.369; OKLCH L 74.2% C 0.197 H 327.0°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#EA78EB
RGBrgb(234, 120, 235)
HSLhsl(299, 74%, 70%)
HSVhsv(299, 49%, 92%)
CMYKcmyk(0.4%, 48.9%, 0%, 7.8%)
CIE-LABlab(67.22, 59.56, -39.05)
CIE-LCHlch(67.22, 71.22, 326.75°)
OKLaboklab(74.21% 0.1652 -0.1072)
OKLCHoklch(74.21% 0.197 327)
XYZxyz(55.6426, 36.9265, 82.7778)
Luminance0.3692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA78EB #79EB78
analogous
#B078EB #EA78EB #EB78B3
triadic
#EA78EB #EBEA78 #78EBEA
tetradic
#EA78EB #EBB078 #79EB78 #78B3EB
square
#EA78EB #EBB078 #79EB78 #78B3EB
split-complementary
#EA78EB #B3EB78 #78EBB0
monochromatic
#C91ECB #E243E3 #EA78EB #F2ADF3 #FBE3FB

Accessibility & contrast

On white

2.50
#EA78EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#EA78EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA78EB
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA78EB#FFFFFF#000000##000000
##EA78EB1.002.508.388.38
#FFFFFF2.501.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEF
Deuteranopia (green-blind)
#8FA9E8
Tritanopia (blue-blind)
#F085A7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ea78eb;
/* rgb */ color: rgb(234, 120, 235);
/* oklch */ color: oklch(74.2% 0.197 327.0);
Tailwind
colors: {
  custom: {
    50: '#f3a3f2',
    500: '#ea78eb',
    950: '#000000',
  },
}
SCSS
$custom: #ea78eb;
$custom-light: #f3a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ea78eb",
  "rgb": {
    "r": 234,
    "g": 120,
    "b": 235
  },
  "hsl": {
    "h": 299.478,
    "s": 74.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.74209,
    "c": 0.1969,
    "h": 327
  },
  "luminance": 0.36924
}

Semantic roles & 50–950 ramp

primary
#EA78EB
secondary
#CFF0CF
accent
#D60F11
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #EA78EB

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

Preview Lab → · Contrast checker → · Palette generator →

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