#EC79E3#EC79E3

#EC79E3 is a light, vivid purple. Relative luminance 0.371; OKLCH L 74.2% C 0.190 H 330.3°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#EC79E3
RGBrgb(236, 121, 227)
HSLhsl(305, 75%, 70%)
HSVhsv(305, 49%, 93%)
CMYKcmyk(0%, 48.7%, 3.8%, 7.5%)
CIE-LABlab(67.32, 58.26, -34.45)
CIE-LCHlch(67.32, 67.69, 329.40°)
OKLaboklab(74.22% 0.1647 -0.094)
OKLCHoklch(74.22% 0.19 330.3)
XYZxyz(55.2940, 37.0569, 76.8984)
Luminance0.3705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79E3 #79EC82
analogous
#BC79EC #EC79E3 #EC79A9
triadic
#EC79E3 #E3EC79 #79E3EC
tetradic
#EC79E3 #ECBC79 #79EC82 #79A9EC
square
#EC79E3 #ECBC79 #79EC82 #79A9EC
split-complementary
#EC79E3 #A9EC79 #79ECBC
monochromatic
#CD1DC0 #E443D8 #EC79E3 #F4AFEE #FBE4F9

Accessibility & contrast

On white

2.50
#EC79E3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#EC79E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79E3
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79E3#FFFFFF#000000##000000
##EC79E31.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#739AE7
Deuteranopia (green-blind)
#94AAE0
Tritanopia (blue-blind)
#F483A4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec79e3;
/* rgb */ color: rgb(236, 121, 227);
/* oklch */ color: oklch(74.2% 0.190 330.3);
Tailwind
colors: {
  custom: {
    50: '#f4a4ec',
    500: '#ec79e3',
    950: '#000000',
  },
}
SCSS
$custom: #ec79e3;
$custom-light: #f4a4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79e3",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 227
  },
  "hsl": {
    "h": 304.696,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.74224,
    "c": 0.18964,
    "h": 330.3
  },
  "luminance": 0.37054
}

Semantic roles & 50–950 ramp

primary
#EC79E3
secondary
#D0F0D3
accent
#D71E0E
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC79E3

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

Preview Lab → · Contrast checker → · Palette generator →

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