#ED78F2#ED78F2

#ED78F2 is a light, highly saturated purple. Relative luminance 0.378; OKLCH L 74.9% C 0.205 H 325.8°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#ED78F2
RGBrgb(237, 120, 242)
HSLhsl(298, 82%, 71%)
HSVhsv(298, 50%, 95%)
CMYKcmyk(2.1%, 50.4%, 0%, 5.1%)
CIE-LABlab(67.91, 61.60, -41.80)
CIE-LCHlch(67.91, 74.45, 325.84°)
OKLaboklab(74.9% 0.1695 -0.115)
OKLCHoklch(74.9% 0.205 325.8)
XYZxyz(57.6673, 37.8513, 88.2557)
Luminance0.3785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ED78F2 #7DF278
analogous
#B078F2 #ED78F2 #F278BA
triadic
#ED78F2 #F2ED78 #78F2ED
tetradic
#ED78F2 #F2B078 #7DF278 #78BAF2
square
#ED78F2 #F2B078 #7DF278 #78BAF2
split-complementary
#ED78F2 #BAF278 #78F2B0
monochromatic
#D215DB #E640ED #ED78F2 #F4B0F7 #FBE3FC

Accessibility & contrast

On white

2.45
#ED78F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#ED78F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ED78F2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ED78F2#FFFFFF#000000##000000
##ED78F21.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9CF6
Deuteranopia (green-blind)
#8EABEE
Tritanopia (blue-blind)
#F286AA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ed78f2;
/* rgb */ color: rgb(237, 120, 242);
/* oklch */ color: oklch(74.9% 0.205 325.8);
Tailwind
colors: {
  custom: {
    50: '#f5a3f7',
    500: '#ed78f2',
    950: '#000000',
  },
}
SCSS
$custom: #ed78f2;
$custom-light: #f5a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ed78f2",
  "rgb": {
    "r": 237,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 297.541,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74898,
    "c": 0.20483,
    "h": 325.8
  },
  "luminance": 0.37848
}

Semantic roles & 50–950 ramp

primary
#ED78F2
secondary
#D4F3D3
accent
#DF0710
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #ED78F2

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

Preview Lab → · Contrast checker → · Palette generator →

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