#EC78EE#EC78EE

#EC78EE is a light, highly saturated purple. Relative luminance 0.374; OKLCH L 74.6% C 0.201 H 326.7°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#EC78EE
RGBrgb(236, 120, 238)
HSLhsl(299, 78%, 70%)
HSVhsv(299, 50%, 93%)
CMYKcmyk(0.8%, 49.6%, 0%, 6.7%)
CIE-LABlab(67.61, 60.63, -40.08)
CIE-LCHlch(67.61, 72.68, 326.53°)
OKLaboklab(74.59% 0.1678 -0.1101)
OKLCHoklch(74.59% 0.201 326.7)
XYZxyz(56.7401, 37.4419, 85.1107)
Luminance0.3744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC78EE #7AEE78
analogous
#B178EE #EC78EE #EE78B5
triadic
#EC78EE #EEEC78 #78EEEC
tetradic
#EC78EE #EEB178 #7AEE78 #78B5EE
square
#EC78EE #EEB178 #7AEE78 #78B5EE
split-complementary
#EC78EE #B5EE78 #78EEB1
monochromatic
#CE1AD1 #E442E7 #EC78EE #F4AEF5 #FBE4FC

Accessibility & contrast

On white

2.47
#EC78EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#EC78EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC78EE
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC78EE#FFFFFF#000000##000000
##EC78EE1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9BF2
Deuteranopia (green-blind)
#8FAAEA
Tritanopia (blue-blind)
#F285A8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec78ee;
/* rgb */ color: rgb(236, 120, 238);
/* oklch */ color: oklch(74.6% 0.201 326.7);
Tailwind
colors: {
  custom: {
    50: '#f4a3f4',
    500: '#ec78ee',
    950: '#000000',
  },
}
SCSS
$custom: #ec78ee;
$custom-light: #f4a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ec78ee",
  "rgb": {
    "r": 236,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 298.983,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7459,
    "c": 0.20071,
    "h": 326.7
  },
  "luminance": 0.37439
}

Semantic roles & 50–950 ramp

primary
#EC78EE
secondary
#D1F1D1
accent
#DA0C0F
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC78EE

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

Preview Lab → · Contrast checker → · Palette generator →

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