#EC79F1#EC79F1

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

Color values

HEX#EC79F1
RGBrgb(236, 121, 241)
HSLhsl(298, 81%, 71%)
HSVhsv(298, 50%, 95%)
CMYKcmyk(2.1%, 49.8%, 0%, 5.5%)
CIE-LABlab(67.92, 60.68, -41.25)
CIE-LCHlch(67.92, 73.37, 325.79°)
OKLaboklab(74.86% 0.1669 -0.1135)
OKLCHoklch(74.86% 0.202 325.8)
XYZxyz(57.3054, 37.8615, 87.4916)
Luminance0.3786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79F1 #7EF179
analogous
#B079F1 #EC79F1 #F179BA
triadic
#EC79F1 #F1EC79 #79F1EC
tetradic
#EC79F1 #F1B079 #7EF179 #79BAF1
square
#EC79F1 #F1B079 #7EF179 #79BAF1
split-complementary
#EC79F1 #BAF179 #79F1B0
monochromatic
#D117D9 #E442EB #EC79F1 #F4B0F7 #FBE3FC

Accessibility & contrast

On white

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

On black

8.57
#EC79F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79F1
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79F1#FFFFFF#000000##000000
##EC79F11.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ec79f1;
/* rgb */ color: rgb(236, 121, 241);
/* oklch */ color: oklch(74.9% 0.202 325.8);
Tailwind
colors: {
  custom: {
    50: '#f4a4f6',
    500: '#ec79f1',
    950: '#000000',
  },
}
SCSS
$custom: #ec79f1;
$custom-light: #f4a4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79f1",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 241
  },
  "hsl": {
    "h": 297.5,
    "s": 81.081,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74863,
    "c": 0.20183,
    "h": 325.8
  },
  "luminance": 0.37858
}

Semantic roles & 50–950 ramp

primary
#EC79F1
secondary
#D4F3D3
accent
#DD0811
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC79F1

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

Preview Lab → · Contrast checker → · Palette generator →

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