#EC78F5#EC78F5

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

Color values

HEX#EC78F5
RGBrgb(236, 120, 245)
HSLhsl(296, 86%, 72%)
HSVhsv(296, 51%, 96%)
CMYKcmyk(3.7%, 51%, 0%, 3.9%)
CIE-LABlab(67.92, 61.87, -43.45)
CIE-LCHlch(67.92, 75.60, 324.92°)
OKLaboklab(74.92% 0.1688 -0.1198)
OKLCHoklch(74.92% 0.207 324.6)
XYZxyz(57.7885, 37.8613, 90.6325)
Luminance0.3786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC78F5 #81F578
analogous
#AE78F5 #EC78F5 #F578C0
triadic
#EC78F5 #F5EC78 #78F5EC
tetradic
#EC78F5 #F5AE78 #81F578 #78C0F5
square
#EC78F5 #F5AE78 #81F578 #78C0F5
split-complementary
#EC78F5 #C0F578 #78F5AE
monochromatic
#D311E2 #E43FF1 #EC78F5 #F4B1F9 #FBE3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC78F5#FFFFFF#000000##000000
##EC78F51.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)
#689CF9
Deuteranopia (green-blind)
#8CAAF1
Tritanopia (blue-blind)
#F087AC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec78f5;
/* rgb */ color: rgb(236, 120, 245);
/* oklch */ color: oklch(74.9% 0.207 324.6);
Tailwind
colors: {
  custom: {
    50: '#f5a3f9',
    500: '#ec78f5',
    950: '#000000',
  },
}
SCSS
$custom: #ec78f5;
$custom-light: #f5a3f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec78f5",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 245
  },
  "hsl": {
    "h": 295.68,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.74921,
    "c": 0.20696,
    "h": 324.6
  },
  "luminance": 0.37858
}

Semantic roles & 50–950 ramp

primary
#EC78F5
secondary
#D7F4D4
accent
#E30313
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC78F5

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

Preview Lab → · Contrast checker → · Palette generator →

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