#EC78F4#EC78F4

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

Color values

HEX#EC78F4
RGBrgb(236, 120, 244)
HSLhsl(296, 85%, 71%)
HSVhsv(296, 51%, 96%)
CMYKcmyk(3.3%, 50.8%, 0%, 4.3%)
CIE-LABlab(67.87, 61.69, -42.97)
CIE-LCHlch(67.87, 75.18, 325.14°)
OKLaboklab(74.87% 0.1686 -0.1184)
OKLCHoklch(74.87% 0.206 324.9)
XYZxyz(57.6363, 37.8004, 89.8307)
Luminance0.3780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC78F4 #80F478
analogous
#AE78F4 #EC78F4 #F478BE
triadic
#EC78F4 #F4EC78 #78F4EC
tetradic
#EC78F4 #F4AE78 #80F478 #78BEF4
square
#EC78F4 #F4AE78 #80F478 #78BEF4
split-complementary
#EC78F4 #BEF478 #78F4AE
monochromatic
#D212DF #E43FEF #EC78F4 #F4B1F9 #FBE3FD

Accessibility & contrast

On white

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

On black

8.56
#EC78F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC78F4
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC78F4#FFFFFF#000000##000000
##EC78F41.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#699CF8
Deuteranopia (green-blind)
#8CAAF0
Tritanopia (blue-blind)
#F187AB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec78f4;
/* rgb */ color: rgb(236, 120, 244);
/* oklch */ color: oklch(74.9% 0.206 324.9);
Tailwind
colors: {
  custom: {
    50: '#f5a3f8',
    500: '#ec78f4',
    950: '#000000',
  },
}
SCSS
$custom: #ec78f4;
$custom-light: #f5a3f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec78f4",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 244
  },
  "hsl": {
    "h": 296.129,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.74873,
    "c": 0.20605,
    "h": 324.9
  },
  "luminance": 0.37797
}

Semantic roles & 50–950 ramp

primary
#EC78F4
secondary
#D6F4D4
accent
#E10412
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC78F4

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

Preview Lab → · Contrast checker → · Palette generator →

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