#EC78E9#EC78E9

#EC78E9 is a light, vivid purple. Relative luminance 0.371; OKLCH L 74.4% C 0.196 H 328.3°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#EC78E9
RGBrgb(236, 120, 233)
HSLhsl(302, 75%, 70%)
HSVhsv(302, 49%, 93%)
CMYKcmyk(0%, 49.2%, 1.3%, 7.5%)
CIE-LABlab(67.39, 59.76, -37.66)
CIE-LCHlch(67.39, 70.64, 327.78°)
OKLaboklab(74.36% 0.167 -0.1032)
OKLCHoklch(74.36% 0.196 328.3)
XYZxyz(56.0157, 37.1522, 81.2956)
Luminance0.3715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC78E9 #78EC7B
analogous
#B578EC #EC78E9 #EC78AF
triadic
#EC78E9 #E9EC78 #78E9EC
tetradic
#EC78E9 #ECB578 #78EC7B #78AFEC
square
#EC78E9 #ECB578 #78EC7B #78AFEC
split-complementary
#EC78E9 #AFEC78 #78ECB5
monochromatic
#CD1DC8 #E442E0 #EC78E9 #F4AEF2 #FBE3FA

Accessibility & contrast

On white

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

On black

8.43
#EC78E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC78E9
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC78E9#FFFFFF#000000##000000
##EC78E91.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9AED
Deuteranopia (green-blind)
#91AAE6
Tritanopia (blue-blind)
#F384A6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec78e9;
/* rgb */ color: rgb(236, 120, 233);
/* oklch */ color: oklch(74.4% 0.196 328.3);
Tailwind
colors: {
  custom: {
    50: '#f4a3f0',
    500: '#ec78e9',
    950: '#000000',
  },
}
SCSS
$custom: #ec78e9;
$custom-light: #f4a3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ec78e9",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 233
  },
  "hsl": {
    "h": 301.552,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.74359,
    "c": 0.19634,
    "h": 328.3
  },
  "luminance": 0.37149
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC78E9

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

Preview Lab → · Contrast checker → · Palette generator →

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