#EC79F2#EC79F2

#EC79F2 is a light, highly saturated purple. Relative luminance 0.379; OKLCH L 74.9% C 0.203 H 325.5°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#EC79F2
RGBrgb(236, 121, 242)
HSLhsl(297, 82%, 71%)
HSVhsv(297, 50%, 95%)
CMYKcmyk(2.5%, 50%, 0%, 5.1%)
CIE-LABlab(67.96, 60.86, -41.73)
CIE-LCHlch(67.96, 73.79, 325.56°)
OKLaboklab(74.91% 0.167 -0.1149)
OKLCHoklch(74.91% 0.203 325.5)
XYZxyz(57.4552, 37.9214, 88.2804)
Luminance0.3792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79F2 #7FF279
analogous
#AF79F2 #EC79F2 #F279BB
triadic
#EC79F2 #F2EC79 #79F2EC
tetradic
#EC79F2 #F2AF79 #7FF279 #79BBF2
square
#EC79F2 #F2AF79 #7FF279 #79BBF2
split-complementary
#EC79F2 #BBF279 #79F2AF
monochromatic
#D215DB #E441ED #EC79F2 #F4B1F7 #FBE3FC

Accessibility & contrast

On white

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

On black

8.58
#EC79F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79F2
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79F2#FFFFFF#000000##000000
##EC79F21.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9CF6
Deuteranopia (green-blind)
#8EABEE
Tritanopia (blue-blind)
#F187AB
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #ec79f2;
/* rgb */ color: rgb(236, 121, 242);
/* oklch */ color: oklch(74.9% 0.203 325.5);
Tailwind
colors: {
  custom: {
    50: '#f4a4f7',
    500: '#ec79f2',
    950: '#000000',
  },
}
SCSS
$custom: #ec79f2;
$custom-light: #f4a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79f2",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 297.025,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7491,
    "c": 0.20273,
    "h": 325.5
  },
  "luminance": 0.37918
}

Semantic roles & 50–950 ramp

primary
#EC79F2
secondary
#D5F3D3
accent
#DF0711
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC79F2

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

Preview Lab → · Contrast checker → · Palette generator →

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