#EC78DE#EC78DE

#EC78DE is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.9% C 0.187 H 332.0°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#EC78DE
RGBrgb(236, 120, 222)
HSLhsl(307, 75%, 70%)
HSVhsv(307, 49%, 93%)
CMYKcmyk(0%, 49.2%, 5.9%, 7.5%)
CIE-LABlab(66.93, 57.90, -32.28)
CIE-LCHlch(66.93, 66.29, 330.86°)
OKLaboklab(73.87% 0.1651 -0.0878)
OKLCHoklch(73.87% 0.187 332)
XYZxyz(54.4931, 36.5431, 73.2764)
Luminance0.3654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC78DE #78EC86
analogous
#C078EC #EC78DE #EC78A4
triadic
#EC78DE #DEEC78 #78DEEC
tetradic
#EC78DE #ECC078 #78EC86 #78A4EC
square
#EC78DE #ECC078 #78EC86 #78A4EC
split-complementary
#EC78DE #A4EC78 #78ECC0
monochromatic
#CD1DB8 #E442D1 #EC78DE #F4AEEB #FBE3F8

Accessibility & contrast

On white

2.53
#EC78DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#EC78DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC78DE
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC78DE#FFFFFF#000000##000000
##EC78DE1.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7498E1
Deuteranopia (green-blind)
#96A9DB
Tritanopia (blue-blind)
#F480A1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec78de;
/* rgb */ color: rgb(236, 120, 222);
/* oklch */ color: oklch(73.9% 0.187 332.0);
Tailwind
colors: {
  custom: {
    50: '#f4a3e8',
    500: '#ec78de',
    950: '#000000',
  },
}
SCSS
$custom: #ec78de;
$custom-light: #f4a3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec78de",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 222
  },
  "hsl": {
    "h": 307.241,
    "s": 75.325,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7387,
    "c": 0.18704,
    "h": 332
  },
  "luminance": 0.3654
}

Semantic roles & 50–950 ramp

primary
#EC78DE
secondary
#D0F0D3
accent
#D7260E
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC78DE

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

Preview Lab → · Contrast checker → · Palette generator →

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