#EC78F6#EC78F6

#EC78F6 is a light, highly saturated purple. Relative luminance 0.379; OKLCH L 75.0% C 0.208 H 324.3°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#EC78F6
RGBrgb(236, 120, 246)
HSLhsl(295, 88%, 72%)
HSVhsv(295, 51%, 96%)
CMYKcmyk(4.1%, 51.2%, 0%, 3.5%)
CIE-LABlab(67.96, 62.04, -43.93)
CIE-LCHlch(67.96, 76.02, 324.70°)
OKLaboklab(74.97% 0.1689 -0.1212)
OKLCHoklch(74.97% 0.208 324.3)
XYZxyz(57.9416, 37.9225, 91.4387)
Luminance0.3792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC78F6 #82F678
analogous
#AD78F6 #EC78F6 #F678C1
triadic
#EC78F6 #F6EC78 #78F6EC
tetradic
#EC78F6 #F6AD78 #82F678 #78C1F6
square
#EC78F6 #F6AD78 #82F678 #78C1F6
split-complementary
#EC78F6 #C1F678 #78F6AD
monochromatic
#D30FE4 #E43FF2 #EC78F6 #F4B1FA #FBE2FD

Accessibility & contrast

On white

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

On black

8.58
#EC78F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC78F6
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC78F6#FFFFFF#000000##000000
##EC78F61.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFA
Deuteranopia (green-blind)
#8BABF2
Tritanopia (blue-blind)
#F088AC
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ec78f6;
/* rgb */ color: rgb(236, 120, 246);
/* oklch */ color: oklch(75.0% 0.208 324.3);
Tailwind
colors: {
  custom: {
    50: '#f5a3f9',
    500: '#ec78f6',
    950: '#000000',
  },
}
SCSS
$custom: #ec78f6;
$custom-light: #f5a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec78f6",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 295.238,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.74969,
    "c": 0.20786,
    "h": 324.3
  },
  "luminance": 0.3792
}

Semantic roles & 50–950 ramp

primary
#EC78F6
secondary
#D7F5D5
accent
#E40113
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC78F6

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

Preview Lab → · Contrast checker → · Palette generator →

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