#EC79E0#EC79E0

#EC79E0 is a light, vivid purple. Relative luminance 0.369; OKLCH L 74.1% C 0.187 H 331.3°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#EC79E0
RGBrgb(236, 121, 224)
HSLhsl(306, 75%, 70%)
HSVhsv(306, 49%, 93%)
CMYKcmyk(0%, 48.7%, 5.1%, 7.5%)
CIE-LABlab(67.20, 57.76, -32.98)
CIE-LCHlch(67.20, 66.51, 330.27°)
OKLaboklab(74.09% 0.1641 -0.0898)
OKLCHoklch(74.09% 0.187 331.3)
XYZxyz(54.8836, 36.8928, 74.7368)
Luminance0.3689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79E0 #79EC85
analogous
#BF79EC #EC79E0 #EC79A6
triadic
#EC79E0 #E0EC79 #79E0EC
tetradic
#EC79E0 #ECBF79 #79EC85 #79A6EC
square
#EC79E0 #ECBF79 #79EC85 #79A6EC
split-complementary
#EC79E0 #A6EC79 #79ECBF
monochromatic
#CD1DBB #E443D4 #EC79E0 #F4AFEC #FBE4F9

Accessibility & contrast

On white

2.51
#EC79E0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#EC79E0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79E0
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79E0#FFFFFF#000000##000000
##EC79E01.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E3
Deuteranopia (green-blind)
#95A9DD
Tritanopia (blue-blind)
#F482A2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec79e0;
/* rgb */ color: rgb(236, 121, 224);
/* oklch */ color: oklch(74.1% 0.187 331.3);
Tailwind
colors: {
  custom: {
    50: '#f4a4ea',
    500: '#ec79e0',
    950: '#000000',
  },
}
SCSS
$custom: #ec79e0;
$custom-light: #f4a4ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79e0",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 224
  },
  "hsl": {
    "h": 306.261,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.74092,
    "c": 0.18711,
    "h": 331.3
  },
  "luminance": 0.36889
}

Semantic roles & 50–950 ramp

primary
#EC79E0
secondary
#D0F0D4
accent
#D7230E
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC79E0

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

Preview Lab → · Contrast checker → · Palette generator →

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