#EA78DC#EA78DC

#EA78DC is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.5% C 0.184 H 332.0°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#EA78DC
RGBrgb(234, 120, 220)
HSLhsl(307, 73%, 69%)
HSVhsv(307, 49%, 92%)
CMYKcmyk(0%, 48.7%, 6%, 8.2%)
CIE-LABlab(66.59, 57.00, -31.71)
CIE-LCHlch(66.59, 65.23, 330.91°)
OKLaboklab(73.54% 0.1626 -0.0863)
OKLCHoklch(73.54% 0.184 332)
XYZxyz(53.5661, 36.0960, 71.8421)
Luminance0.3609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA78DC #78EA86
analogous
#BF78EA #EA78DC #EA78A3
triadic
#EA78DC #DCEA78 #78DCEA
tetradic
#EA78DC #EABF78 #78EA86 #78A3EA
square
#EA78DC #EABF78 #78EA86 #78A3EA
split-complementary
#EA78DC #A3EA78 #78EABF
monochromatic
#C81FB4 #E243CE #EA78DC #F2ADEA #FAE2F7

Accessibility & contrast

On white

2.56
#EA78DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#EA78DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA78DC
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA78DC#FFFFFF#000000##000000
##EA78DC1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598DF
Deuteranopia (green-blind)
#95A8D9
Tritanopia (blue-blind)
#F280A0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ea78dc;
/* rgb */ color: rgb(234, 120, 220);
/* oklch */ color: oklch(73.5% 0.184 332.0);
Tailwind
colors: {
  custom: {
    50: '#f3a3e7',
    500: '#ea78dc',
    950: '#000000',
  },
}
SCSS
$custom: #ea78dc;
$custom-light: #f3a3e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ea78dc",
  "rgb": {
    "r": 234,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 307.368,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73537,
    "c": 0.18404,
    "h": 332
  },
  "luminance": 0.36093
}

Semantic roles & 50–950 ramp

primary
#EA78DC
secondary
#CEEFD3
accent
#D52910
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EA78DC

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

Preview Lab → · Contrast checker → · Palette generator →

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