#ED78EC#ED78EC

#ED78EC is a light, vivid purple. Relative luminance 0.375; OKLCH L 74.6% C 0.200 H 327.7°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#ED78EC
RGBrgb(237, 120, 236)
HSLhsl(301, 76%, 70%)
HSVhsv(301, 49%, 93%)
CMYKcmyk(0%, 49.4%, 0.4%, 7.1%)
CIE-LABlab(67.65, 60.55, -38.91)
CIE-LCHlch(67.65, 71.98, 327.28°)
OKLaboklab(74.62% 0.1686 -0.1067)
OKLCHoklch(74.62% 0.2 327.7)
XYZxyz(56.7809, 37.4968, 83.5874)
Luminance0.3749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED78EC #78ED79
analogous
#B478ED #ED78EC #ED78B1
triadic
#ED78EC #ECED78 #78ECED
tetradic
#ED78EC #EDB478 #78ED79 #78B1ED
square
#ED78EC #EDB478 #78ED79 #78B1ED
split-complementary
#ED78EC #B1ED78 #78EDB4
monochromatic
#CF1CCD #E642E4 #ED78EC #F4AEF4 #FBE4FB

Accessibility & contrast

On white

2.47
#ED78EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#ED78EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED78EC
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED78EC#FFFFFF#000000##000000
##ED78EC1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BF0
Deuteranopia (green-blind)
#91AAE8
Tritanopia (blue-blind)
#F384A7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ed78ec;
/* rgb */ color: rgb(237, 120, 236);
/* oklch */ color: oklch(74.6% 0.200 327.7);
Tailwind
colors: {
  custom: {
    50: '#f5a3f2',
    500: '#ed78ec',
    950: '#000000',
  },
}
SCSS
$custom: #ed78ec;
$custom-light: #f5a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ed78ec",
  "rgb": {
    "r": 237,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 300.513,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.74618,
    "c": 0.19956,
    "h": 327.7
  },
  "luminance": 0.37494
}

Semantic roles & 50–950 ramp

primary
#ED78EC
secondary
#D0F1D0
accent
#D90F0D
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #ED78EC

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

Preview Lab → · Contrast checker → · Palette generator →

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