#EC78F9#EC78F9

#EC78F9 is a light, highly saturated purple. Relative luminance 0.381; OKLCH L 75.1% C 0.211 H 323.5°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#EC78F9
RGBrgb(236, 120, 249)
HSLhsl(294, 91%, 72%)
HSVhsv(294, 52%, 98%)
CMYKcmyk(5.2%, 51.8%, 0%, 2.4%)
CIE-LABlab(68.10, 62.58, -45.36)
CIE-LCHlch(68.10, 77.29, 324.07°)
OKLaboklab(75.11% 0.1692 -0.1253)
OKLCHoklch(75.11% 0.211 323.5)
XYZxyz(58.4058, 38.1082, 93.8833)
Luminance0.3810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC78F9 #85F978
analogous
#AB78F9 #EC78F9 #F978C6
triadic
#EC78F9 #F9EC78 #78F9EC
tetradic
#EC78F9 #F9AB78 #85F978 #78C6F9
square
#EC78F9 #F9AB78 #85F978 #78C6F9
split-complementary
#EC78F9 #C6F978 #78F9AB
monochromatic
#D50AEC #E43DF6 #EC78F9 #F4B3FC #FBE2FE

Accessibility & contrast

On white

2.44
#EC78F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#EC78F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC78F9
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC78F9#FFFFFF#000000##000000
##EC78F91.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFD
Deuteranopia (green-blind)
#8AABF5
Tritanopia (blue-blind)
#F089AE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ec78f9;
/* rgb */ color: rgb(236, 120, 249);
/* oklch */ color: oklch(75.1% 0.211 323.5);
Tailwind
colors: {
  custom: {
    50: '#f5a3fb',
    500: '#ec78f9',
    950: '#000000',
  },
}
SCSS
$custom: #ec78f9;
$custom-light: #f5a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec78f9",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 293.953,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.75114,
    "c": 0.21057,
    "h": 323.5
  },
  "luminance": 0.38105
}

Semantic roles & 50–950 ramp

primary
#EC78F9
secondary
#D8F6D5
accent
#E60017
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC78F9

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

Preview Lab → · Contrast checker → · Palette generator →

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