#EC79EA#EC79EA

#EC79EA is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.5% C 0.196 H 328.0°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#EC79EA
RGBrgb(236, 121, 234)
HSLhsl(301, 75%, 70%)
HSVhsv(301, 49%, 93%)
CMYKcmyk(0%, 48.7%, 0.8%, 7.5%)
CIE-LABlab(67.61, 59.46, -37.87)
CIE-LCHlch(67.61, 70.49, 327.51°)
OKLaboklab(74.54% 0.1659 -0.1038)
OKLCHoklch(74.54% 0.196 328)
XYZxyz(56.2799, 37.4513, 82.0904)
Luminance0.3745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79EA #79EC7B
analogous
#B479EC #EC79EA #EC79B1
triadic
#EC79EA #EAEC79 #79EAEC
tetradic
#EC79EA #ECB479 #79EC7B #79B1EC
square
#EC79EA #ECB479 #79EC7B #79B1EC
split-complementary
#EC79EA #B1EC79 #79ECB4
monochromatic
#CD1DCA #E443E2 #EC79EA #F4AFF2 #FBE4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##EC79EA#FFFFFF#000000##000000
##EC79EA1.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)
#6F9BEE
Deuteranopia (green-blind)
#91AAE7
Tritanopia (blue-blind)
#F285A7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec79ea;
/* rgb */ color: rgb(236, 121, 234);
/* oklch */ color: oklch(74.5% 0.196 328.0);
Tailwind
colors: {
  custom: {
    50: '#f4a4f1',
    500: '#ec79ea',
    950: '#000000',
  },
}
SCSS
$custom: #ec79ea;
$custom-light: #f4a4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79ea",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 234
  },
  "hsl": {
    "h": 301.043,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.74538,
    "c": 0.19565,
    "h": 328
  },
  "luminance": 0.37448
}

Semantic roles & 50–950 ramp

primary
#EC79EA
secondary
#D0F0D1
accent
#D7120E
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC79EA

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

Preview Lab → · Contrast checker → · Palette generator →

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