#EC79F0#EC79F0

#EC79F0 is a light, highly saturated purple. Relative luminance 0.378; OKLCH L 74.8% C 0.201 H 326.1°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#EC79F0
RGBrgb(236, 121, 240)
HSLhsl(298, 80%, 71%)
HSVhsv(298, 50%, 94%)
CMYKcmyk(1.7%, 49.6%, 0%, 5.9%)
CIE-LABlab(67.87, 60.50, -40.77)
CIE-LCHlch(67.87, 72.96, 326.03°)
OKLaboklab(74.82% 0.1668 -0.1121)
OKLCHoklch(74.82% 0.201 326.1)
XYZxyz(57.1564, 37.8019, 86.7071)
Luminance0.3780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79F0 #7DF079
analogous
#B079F0 #EC79F0 #F079B8
triadic
#EC79F0 #F0EC79 #79F0EC
tetradic
#EC79F0 #F0B079 #7DF079 #79B8F0
square
#EC79F0 #F0B079 #7DF079 #79B8F0
split-complementary
#EC79F0 #B8F079 #79F0B0
monochromatic
#D018D7 #E442EA #EC79F0 #F4B0F6 #FBE3FC

Accessibility & contrast

On white

2.45
#EC79F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#EC79F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79F0
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79F0#FFFFFF#000000##000000
##EC79F01.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C9CF4
Deuteranopia (green-blind)
#8FABEC
Tritanopia (blue-blind)
#F187AA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec79f0;
/* rgb */ color: rgb(236, 121, 240);
/* oklch */ color: oklch(74.8% 0.201 326.1);
Tailwind
colors: {
  custom: {
    50: '#f4a4f5',
    500: '#ec79f0',
    950: '#000000',
  },
}
SCSS
$custom: #ec79f0;
$custom-light: #f4a4f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79f0",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 240
  },
  "hsl": {
    "h": 297.983,
    "s": 79.866,
    "l": 70.784
  },
  "oklch": {
    "l": 0.74816,
    "c": 0.20094,
    "h": 326.1
  },
  "luminance": 0.37799
}

Semantic roles & 50–950 ramp

primary
#EC79F0
secondary
#D3F2D2
accent
#DC0910
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC79F0

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

Preview Lab → · Contrast checker → · Palette generator →

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