#EC79F6#EC79F6

#EC79F6 is a light, highly saturated purple. Relative luminance 0.382; OKLCH L 75.1% C 0.206 H 324.3°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#EC79F6
RGBrgb(236, 121, 246)
HSLhsl(295, 87%, 72%)
HSVhsv(295, 51%, 96%)
CMYKcmyk(4.1%, 50.8%, 0%, 3.5%)
CIE-LABlab(68.14, 61.57, -43.65)
CIE-LCHlch(68.14, 75.47, 324.67°)
OKLaboklab(75.1% 0.1676 -0.1204)
OKLCHoklch(75.1% 0.206 324.3)
XYZxyz(58.0625, 38.1643, 91.4790)
Luminance0.3816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79F6 #83F679
analogous
#AE79F6 #EC79F6 #F679C2
triadic
#EC79F6 #F6EC79 #79F6EC
tetradic
#EC79F6 #F6AE79 #83F679 #79C2F6
square
#EC79F6 #F6AE79 #83F679 #79C2F6
split-complementary
#EC79F6 #C2F679 #79F6AE
monochromatic
#D40FE5 #E440F2 #EC79F6 #F4B2FA #FBE2FD

Accessibility & contrast

On white

2.43
#EC79F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#EC79F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79F6
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79F6#FFFFFF#000000##000000
##EC79F61.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#699DFA
Deuteranopia (green-blind)
#8CABF2
Tritanopia (blue-blind)
#F089AD
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ec79f6;
/* rgb */ color: rgb(236, 121, 246);
/* oklch */ color: oklch(75.1% 0.206 324.3);
Tailwind
colors: {
  custom: {
    50: '#f5a4f9',
    500: '#ec79f6',
    950: '#000000',
  },
}
SCSS
$custom: #ec79f6;
$custom-light: #f5a4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79f6",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 246
  },
  "hsl": {
    "h": 295.2,
    "s": 87.413,
    "l": 71.961
  },
  "oklch": {
    "l": 0.751,
    "c": 0.20633,
    "h": 324.3
  },
  "luminance": 0.38161
}

Semantic roles & 50–950 ramp

primary
#EC79F6
secondary
#D8F5D6
accent
#E40214
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC79F6

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

Preview Lab → · Contrast checker → · Palette generator →

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