#EC78DB#EC78DB

#EC78DB is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.7% C 0.185 H 333.1°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#EC78DB
RGBrgb(236, 120, 219)
HSLhsl(309, 75%, 70%)
HSVhsv(309, 49%, 93%)
CMYKcmyk(0%, 49.2%, 7.2%, 7.5%)
CIE-LABlab(66.81, 57.41, -30.80)
CIE-LCHlch(66.81, 65.15, 331.79°)
OKLaboklab(73.74% 0.1646 -0.0836)
OKLCHoklch(73.74% 0.185 333.1)
XYZxyz(54.0946, 36.3837, 71.1776)
Luminance0.3638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC78DB #78EC89
analogous
#C378EC #EC78DB #EC78A1
triadic
#EC78DB #DBEC78 #78DBEC
tetradic
#EC78DB #ECC378 #78EC89 #78A1EC
square
#EC78DB #ECC378 #78EC89 #78A1EC
split-complementary
#EC78DB #A1EC78 #78ECC3
monochromatic
#CD1DB3 #E442CD #EC78DB #F4AEE9 #FBE3F8

Accessibility & contrast

On white

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

On black

8.28
#EC78DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC78DB
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC78DB#FFFFFF#000000##000000
##EC78DB1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DE
Deuteranopia (green-blind)
#97A9D8
Tritanopia (blue-blind)
#F57F9F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec78db;
/* rgb */ color: rgb(236, 120, 219);
/* oklch */ color: oklch(73.7% 0.185 333.1);
Tailwind
colors: {
  custom: {
    50: '#f4a3e6',
    500: '#ec78db',
    950: '#000000',
  },
}
SCSS
$custom: #ec78db;
$custom-light: #f4a3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec78db",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 308.793,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.73741,
    "c": 0.18459,
    "h": 333.1
  },
  "luminance": 0.3638
}

Semantic roles & 50–950 ramp

primary
#EC78DB
secondary
#D0F0D4
accent
#D72C0E
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC78DB

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

Preview Lab → · Contrast checker → · Palette generator →

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