#ED78EA#ED78EA

#ED78EA is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.5% C 0.198 H 328.3°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#ED78EA
RGBrgb(237, 120, 234)
HSLhsl(302, 76%, 70%)
HSVhsv(302, 49%, 93%)
CMYKcmyk(0%, 49.4%, 1.3%, 7.1%)
CIE-LABlab(67.56, 60.21, -37.94)
CIE-LCHlch(67.56, 71.17, 327.78°)
OKLaboklab(74.53% 0.1683 -0.104)
OKLCHoklch(74.53% 0.198 328.3)
XYZxyz(56.4920, 37.3812, 82.0657)
Luminance0.3738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED78EA #78ED7B
analogous
#B578ED #ED78EA #ED78B0
triadic
#ED78EA #EAED78 #78EAED
tetradic
#ED78EA #EDB578 #78ED7B #78B0ED
square
#ED78EA #EDB578 #78ED7B #78B0ED
split-complementary
#ED78EA #B0ED78 #78EDB5
monochromatic
#CF1CCA #E642E2 #ED78EA #F4AEF2 #FBE4FB

Accessibility & contrast

On white

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

On black

8.48
#ED78EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED78EA
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED78EA#FFFFFF#000000##000000
##ED78EA1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEE
Deuteranopia (green-blind)
#91AAE7
Tritanopia (blue-blind)
#F484A7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ed78ea;
/* rgb */ color: rgb(237, 120, 234);
/* oklch */ color: oklch(74.5% 0.198 328.3);
Tailwind
colors: {
  custom: {
    50: '#f5a3f1',
    500: '#ed78ea',
    950: '#000000',
  },
}
SCSS
$custom: #ed78ea;
$custom-light: #f5a3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ed78ea",
  "rgb": {
    "r": 237,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 301.538,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.74526,
    "c": 0.19782,
    "h": 328.3
  },
  "luminance": 0.37378
}

Semantic roles & 50–950 ramp

primary
#ED78EA
secondary
#D0F1D1
accent
#D9120D
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #ED78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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