#EC78DA#EC78DA

#EC78DA is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.7% C 0.184 H 333.4°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#EC78DA
RGBrgb(236, 120, 218)
HSLhsl(309, 75%, 70%)
HSVhsv(309, 49%, 93%)
CMYKcmyk(0%, 49.2%, 7.6%, 7.5%)
CIE-LABlab(66.77, 57.25, -30.30)
CIE-LCHlch(66.77, 64.77, 332.11°)
OKLaboklab(73.7% 0.1644 -0.0822)
OKLCHoklch(73.7% 0.184 333.4)
XYZxyz(53.9633, 36.3312, 70.4864)
Luminance0.3633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC78DA #78EC8A
analogous
#C478EC #EC78DA #EC78A0
triadic
#EC78DA #DAEC78 #78DAEC
tetradic
#EC78DA #ECC478 #78EC8A #78A0EC
square
#EC78DA #ECC478 #78EC8A #78A0EC
split-complementary
#EC78DA #A0EC78 #78ECC4
monochromatic
#CD1DB1 #E442CB #EC78DA #F4AEE9 #FBE3F7

Accessibility & contrast

On white

2.54
#EC78DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.27
#EC78DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC78DA
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC78DA#FFFFFF#000000##000000
##EC78DA1.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DD
Deuteranopia (green-blind)
#97A9D7
Tritanopia (blue-blind)
#F57F9F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #ec78da;
/* rgb */ color: rgb(236, 120, 218);
/* oklch */ color: oklch(73.7% 0.184 333.4);
Tailwind
colors: {
  custom: {
    50: '#f4a3e5',
    500: '#ec78da',
    950: '#000000',
  },
}
SCSS
$custom: #ec78da;
$custom-light: #f4a3e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec78da",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 309.31,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73698,
    "c": 0.18378,
    "h": 333.4
  },
  "luminance": 0.36328
}

Semantic roles & 50–950 ramp

primary
#EC78DA
secondary
#D0F0D5
accent
#D72D0E
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC78DA

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

Preview Lab → · Contrast checker → · Palette generator →

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