#EC79F4#EC79F4

#EC79F4 is a light, highly saturated purple. Relative luminance 0.380; OKLCH L 75.0% C 0.205 H 324.9°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#EC79F4
RGBrgb(236, 121, 244)
HSLhsl(296, 85%, 72%)
HSVhsv(296, 50%, 96%)
CMYKcmyk(3.3%, 50.4%, 0%, 4.3%)
CIE-LABlab(68.05, 61.21, -42.69)
CIE-LCHlch(68.05, 74.63, 325.11°)
OKLaboklab(75.01% 0.1673 -0.1176)
OKLCHoklch(75.01% 0.205 324.9)
XYZxyz(57.7572, 38.0422, 89.8710)
Luminance0.3804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79F4 #81F479
analogous
#AF79F4 #EC79F4 #F479BE
triadic
#EC79F4 #F4EC79 #79F4EC
tetradic
#EC79F4 #F4AF79 #81F479 #79BEF4
square
#EC79F4 #F4AF79 #81F479 #79BEF4
split-complementary
#EC79F4 #BEF479 #79F4AF
monochromatic
#D312E0 #E440EF #EC79F4 #F4B2F9 #FBE3FD

Accessibility & contrast

On white

2.44
#EC79F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#EC79F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79F4
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79F4#FFFFFF#000000##000000
##EC79F41.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9DF8
Deuteranopia (green-blind)
#8DABF0
Tritanopia (blue-blind)
#F188AC
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ec79f4;
/* rgb */ color: rgb(236, 121, 244);
/* oklch */ color: oklch(75.0% 0.205 324.9);
Tailwind
colors: {
  custom: {
    50: '#f5a4f8',
    500: '#ec79f4',
    950: '#000000',
  },
}
SCSS
$custom: #ec79f4;
$custom-light: #f5a4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79f4",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 244
  },
  "hsl": {
    "h": 296.098,
    "s": 84.828,
    "l": 71.569
  },
  "oklch": {
    "l": 0.75005,
    "c": 0.20452,
    "h": 324.9
  },
  "luminance": 0.38039
}

Semantic roles & 50–950 ramp

primary
#EC79F4
secondary
#D7F4D5
accent
#E10413
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC79F4

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

Preview Lab → · Contrast checker → · Palette generator →

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