#EC79F9#EC79F9

#EC79F9 is a light, highly saturated purple. Relative luminance 0.383; OKLCH L 75.2% C 0.209 H 323.4°. Best body text is #000000 at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#EC79F9
RGBrgb(236, 121, 249)
HSLhsl(294, 91%, 73%)
HSVhsv(294, 51%, 98%)
CMYKcmyk(5.2%, 51.4%, 0%, 2.4%)
CIE-LABlab(68.28, 62.11, -45.08)
CIE-LCHlch(68.28, 76.75, 324.03°)
OKLaboklab(75.24% 0.1679 -0.1245)
OKLCHoklch(75.24% 0.209 323.4)
XYZxyz(58.5267, 38.3500, 93.9236)
Luminance0.3835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79F9 #86F979
analogous
#AC79F9 #EC79F9 #F979C6
triadic
#EC79F9 #F9EC79 #79F9EC
tetradic
#EC79F9 #F9AC79 #86F979 #79C6F9
square
#EC79F9 #F9AC79 #86F979 #79C6F9
split-complementary
#EC79F9 #C6F979 #79F9AC
monochromatic
#D60BED #E43EF6 #EC79F9 #F4B4FC #FBE2FE

Accessibility & contrast

On white

2.42
#EC79F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.67
#EC79F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79F9
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79F9#FFFFFF#000000##000000
##EC79F91.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFD
Deuteranopia (green-blind)
#8BABF5
Tritanopia (blue-blind)
#F089AE
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ec79f9;
/* rgb */ color: rgb(236, 121, 249);
/* oklch */ color: oklch(75.2% 0.209 323.4);
Tailwind
colors: {
  custom: {
    50: '#f5a4fb',
    500: '#ec79f9',
    950: '#000000',
  },
}
SCSS
$custom: #ec79f9;
$custom-light: #f5a4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79f9",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 249
  },
  "hsl": {
    "h": 293.906,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75245,
    "c": 0.20906,
    "h": 323.4
  },
  "luminance": 0.38347
}

Semantic roles & 50–950 ramp

primary
#EC79F9
secondary
#D8F6D5
accent
#E60017
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC79F9

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

Preview Lab → · Contrast checker → · Palette generator →

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