#EC78F8#EC78F8

#EC78F8 is a light, highly saturated purple. Relative luminance 0.380; OKLCH L 75.1% C 0.210 H 323.8°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#EC78F8
RGBrgb(236, 120, 248)
HSLhsl(294, 90%, 72%)
HSVhsv(294, 52%, 97%)
CMYKcmyk(4.8%, 51.6%, 0%, 2.7%)
CIE-LABlab(68.05, 62.40, -44.88)
CIE-LCHlch(68.05, 76.87, 324.28°)
OKLaboklab(75.07% 0.1691 -0.1239)
OKLCHoklch(75.07% 0.21 323.8)
XYZxyz(58.2502, 38.0460, 93.0641)
Luminance0.3804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC78F8 #84F878
analogous
#AC78F8 #EC78F8 #F878C4
triadic
#EC78F8 #F8EC78 #78F8EC
tetradic
#EC78F8 #F8AC78 #84F878 #78C4F8
square
#EC78F8 #F8AC78 #84F878 #78C4F8
split-complementary
#EC78F8 #C4F878 #78F8AC
monochromatic
#D50CE9 #E43EF5 #EC78F8 #F4B2FB #FBE2FD

Accessibility & contrast

On white

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

On black

8.61
#EC78F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC78F8
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC78F8#FFFFFF#000000##000000
##EC78F81.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#669DFC
Deuteranopia (green-blind)
#8AABF4
Tritanopia (blue-blind)
#F088AD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ec78f8;
/* rgb */ color: rgb(236, 120, 248);
/* oklch */ color: oklch(75.1% 0.210 323.8);
Tailwind
colors: {
  custom: {
    50: '#f5a3fb',
    500: '#ec78f8',
    950: '#000000',
  },
}
SCSS
$custom: #ec78f8;
$custom-light: #f5a3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec78f8",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 294.375,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75066,
    "c": 0.20967,
    "h": 323.8
  },
  "luminance": 0.38043
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC78F8

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

Preview Lab → · Contrast checker → · Palette generator →

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