#EC78F0#EC78F0

#EC78F0 is a light, highly saturated purple. Relative luminance 0.376; OKLCH L 74.7% C 0.202 H 326.1°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#EC78F0
RGBrgb(236, 120, 240)
HSLhsl(298, 80%, 71%)
HSVhsv(298, 50%, 94%)
CMYKcmyk(1.7%, 50%, 0%, 5.9%)
CIE-LABlab(67.70, 60.98, -41.05)
CIE-LCHlch(67.70, 73.51, 326.05°)
OKLaboklab(74.68% 0.1681 -0.1129)
OKLCHoklch(74.68% 0.202 326.1)
XYZxyz(57.0356, 37.5601, 86.6668)
Luminance0.3756 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC78F0 #7CF078
analogous
#B078F0 #EC78F0 #F078B8
triadic
#EC78F0 #F0EC78 #78F0EC
tetradic
#EC78F0 #F0B078 #7CF078 #78B8F0
square
#EC78F0 #F0B078 #7CF078 #78B8F0
split-complementary
#EC78F0 #B8F078 #78F0B0
monochromatic
#D018D6 #E441EA #EC78F0 #F4AFF6 #FBE3FC

Accessibility & contrast

On white

2.47
#EC78F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#EC78F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC78F0
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC78F0#FFFFFF#000000##000000
##EC78F01.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9CF4
Deuteranopia (green-blind)
#8EAAEC
Tritanopia (blue-blind)
#F186A9
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec78f0;
/* rgb */ color: rgb(236, 120, 240);
/* oklch */ color: oklch(74.7% 0.202 326.1);
Tailwind
colors: {
  custom: {
    50: '#f4a3f5',
    500: '#ec78f0',
    950: '#000000',
  },
}
SCSS
$custom: #ec78f0;
$custom-light: #f4a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec78f0",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 240
  },
  "hsl": {
    "h": 298,
    "s": 80,
    "l": 70.588
  },
  "oklch": {
    "l": 0.74683,
    "c": 0.20249,
    "h": 326.1
  },
  "luminance": 0.37557
}

Semantic roles & 50–950 ramp

primary
#EC78F0
secondary
#D3F2D2
accent
#DC0910
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC78F0

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

Preview Lab → · Contrast checker → · Palette generator →

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