#EC79E2#EC79E2

#EC79E2 is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.2% C 0.189 H 330.6°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#EC79E2
RGBrgb(236, 121, 226)
HSLhsl(305, 75%, 70%)
HSVhsv(305, 49%, 93%)
CMYKcmyk(0%, 48.7%, 4.2%, 7.5%)
CIE-LABlab(67.28, 58.09, -33.96)
CIE-LCHlch(67.28, 67.29, 329.69°)
OKLaboklab(74.18% 0.1645 -0.0926)
OKLCHoklch(74.18% 0.189 330.6)
XYZxyz(55.1564, 37.0019, 76.1737)
Luminance0.3700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79E2 #79EC83
analogous
#BC79EC #EC79E2 #EC79A9
triadic
#EC79E2 #E2EC79 #79E2EC
tetradic
#EC79E2 #ECBC79 #79EC83 #79A9EC
square
#EC79E2 #ECBC79 #79EC83 #79A9EC
split-complementary
#EC79E2 #A9EC79 #79ECBC
monochromatic
#CD1DBE #E443D6 #EC79E2 #F4AFEE #FBE4F9

Accessibility & contrast

On white

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

On black

8.40
#EC79E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79E2
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79E2#FFFFFF#000000##000000
##EC79E21.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#749AE6
Deuteranopia (green-blind)
#95AADF
Tritanopia (blue-blind)
#F482A3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #ec79e2;
/* rgb */ color: rgb(236, 121, 226);
/* oklch */ color: oklch(74.2% 0.189 330.6);
Tailwind
colors: {
  custom: {
    50: '#f4a4eb',
    500: '#ec79e2',
    950: '#000000',
  },
}
SCSS
$custom: #ec79e2;
$custom-light: #f4a4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79e2",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 226
  },
  "hsl": {
    "h": 305.217,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.7418,
    "c": 0.18879,
    "h": 330.6
  },
  "luminance": 0.36999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #EC79E2

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

Preview Lab → · Contrast checker → · Palette generator →

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