#EC78EA#EC78EA

#EC78EA is a light, vivid purple. Relative luminance 0.372; OKLCH L 74.4% C 0.197 H 328.0°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#EC78EA
RGBrgb(236, 120, 234)
HSLhsl(301, 75%, 70%)
HSVhsv(301, 49%, 93%)
CMYKcmyk(0%, 49.2%, 0.8%, 7.5%)
CIE-LABlab(67.43, 59.93, -38.15)
CIE-LCHlch(67.43, 71.04, 327.52°)
OKLaboklab(74.41% 0.1672 -0.1046)
OKLCHoklch(74.41% 0.197 328)
XYZxyz(56.1590, 37.2095, 82.0501)
Luminance0.3721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC78EA #78EC7A
analogous
#B478EC #EC78EA #EC78B0
triadic
#EC78EA #EAEC78 #78EAEC
tetradic
#EC78EA #ECB478 #78EC7A #78B0EC
square
#EC78EA #ECB478 #78EC7A #78B0EC
split-complementary
#EC78EA #B0EC78 #78ECB4
monochromatic
#CD1DCA #E442E2 #EC78EA #F4AEF2 #FBE3FB

Accessibility & contrast

On white

2.49
#EC78EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#EC78EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC78EA
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC78EA#FFFFFF#000000##000000
##EC78EA1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9AEE
Deuteranopia (green-blind)
#91AAE7
Tritanopia (blue-blind)
#F284A6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec78ea;
/* rgb */ color: rgb(236, 120, 234);
/* oklch */ color: oklch(74.4% 0.197 328.0);
Tailwind
colors: {
  custom: {
    50: '#f4a3f1',
    500: '#ec78ea',
    950: '#000000',
  },
}
SCSS
$custom: #ec78ea;
$custom-light: #f4a3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec78ea",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 301.034,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74405,
    "c": 0.19721,
    "h": 328
  },
  "luminance": 0.37206
}

Semantic roles & 50–950 ramp

primary
#EC78EA
secondary
#D0F0D0
accent
#D7110E
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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