#ED78DB#ED78DB

#ED78DB is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.9% C 0.185 H 333.4°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#ED78DB
RGBrgb(237, 120, 219)
HSLhsl(309, 76%, 70%)
HSVhsv(309, 49%, 93%)
CMYKcmyk(0%, 49.4%, 7.6%, 7.1%)
CIE-LABlab(66.94, 57.70, -30.59)
CIE-LCHlch(66.94, 65.30, 332.07°)
OKLaboklab(73.86% 0.1656 -0.083)
OKLCHoklch(73.86% 0.185 333.4)
XYZxyz(54.4276, 36.5554, 71.1933)
Luminance0.3655 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED78DB #78ED8A
analogous
#C578ED #ED78DB #ED78A0
triadic
#ED78DB #DBED78 #78DBED
tetradic
#ED78DB #EDC578 #78ED8A #78A0ED
square
#ED78DB #EDC578 #78ED8A #78A0ED
split-complementary
#ED78DB #A0ED78 #78EDC5
monochromatic
#CF1CB3 #E642CD #ED78DB #F4AEE9 #FBE4F8

Accessibility & contrast

On white

2.53
#ED78DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#ED78DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED78DB
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED78DB#FFFFFF#000000##000000
##ED78DB1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DE
Deuteranopia (green-blind)
#97A9D8
Tritanopia (blue-blind)
#F67FA0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ed78db;
/* rgb */ color: rgb(237, 120, 219);
/* oklch */ color: oklch(73.9% 0.185 333.4);
Tailwind
colors: {
  custom: {
    50: '#f5a3e6',
    500: '#ed78db',
    950: '#000000',
  },
}
SCSS
$custom: #ed78db;
$custom-light: #f5a3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ed78db",
  "rgb": {
    "r": 237,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 309.231,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.73864,
    "c": 0.18529,
    "h": 333.4
  },
  "luminance": 0.36552
}

Semantic roles & 50–950 ramp

primary
#ED78DB
secondary
#D0F1D5
accent
#D92C0D
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #ED78DB

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

Preview Lab → · Contrast checker → · Palette generator →

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