#EA78DF#EA78DF

#EA78DF is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.7% C 0.187 H 331.0°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#EA78DF
RGBrgb(234, 120, 223)
HSLhsl(306, 73%, 69%)
HSVhsv(306, 49%, 92%)
CMYKcmyk(0%, 48.7%, 4.7%, 8.2%)
CIE-LABlab(66.72, 57.50, -33.19)
CIE-LCHlch(66.72, 66.39, 330.00°)
OKLaboklab(73.67% 0.1631 -0.0905)
OKLCHoklch(73.67% 0.187 331)
XYZxyz(53.9670, 36.2563, 73.9534)
Luminance0.3625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EA78DF #78EA83
analogous
#BC78EA #EA78DF #EA78A6
triadic
#EA78DF #DFEA78 #78DFEA
tetradic
#EA78DF #EABC78 #78EA83 #78A6EA
square
#EA78DF #EABC78 #78EA83 #78A6EA
split-complementary
#EA78DF #A6EA78 #78EABC
monochromatic
#C81FB8 #E243D2 #EA78DF #F2ADEC #FAE2F8

Accessibility & contrast

On white

2.55
#EA78DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#EA78DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EA78DF
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EA78DF#FFFFFF#000000##000000
##EA78DF1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7398E2
Deuteranopia (green-blind)
#94A8DC
Tritanopia (blue-blind)
#F281A1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ea78df;
/* rgb */ color: rgb(234, 120, 223);
/* oklch */ color: oklch(73.7% 0.187 331.0);
Tailwind
colors: {
  custom: {
    50: '#f3a3e9',
    500: '#ea78df',
    950: '#000000',
  },
}
SCSS
$custom: #ea78df;
$custom-light: #f3a3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ea78df",
  "rgb": {
    "r": 234,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 305.789,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.73668,
    "c": 0.18655,
    "h": 331
  },
  "luminance": 0.36253
}

Semantic roles & 50–950 ramp

primary
#EA78DF
secondary
#CEEFD2
accent
#D52310
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EA78DF

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

Preview Lab → · Contrast checker → · Palette generator →

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