#EC79D9#EC79D9

#EC79D9 is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.8% C 0.181 H 333.8°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#EC79D9
RGBrgb(236, 121, 217)
HSLhsl(310, 75%, 70%)
HSVhsv(310, 49%, 93%)
CMYKcmyk(0%, 48.7%, 8.1%, 7.5%)
CIE-LABlab(66.92, 56.60, -29.52)
CIE-LCHlch(66.92, 63.84, 332.45°)
OKLaboklab(73.79% 0.1628 -0.08)
OKLCHoklch(73.79% 0.181 333.8)
XYZxyz(53.9538, 36.5208, 69.8396)
Luminance0.3652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79D9 #79EC8C
analogous
#C579EC #EC79D9 #EC79A0
triadic
#EC79D9 #D9EC79 #79D9EC
tetradic
#EC79D9 #ECC579 #79EC8C #79A0EC
square
#EC79D9 #ECC579 #79EC8C #79A0EC
split-complementary
#EC79D9 #A0EC79 #79ECC5
monochromatic
#CD1DB0 #E443CA #EC79D9 #F4AFE8 #FBE4F7

Accessibility & contrast

On white

2.53
#EC79D9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#EC79D9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79D9
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79D9#FFFFFF#000000##000000
##EC79D91.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7898DC
Deuteranopia (green-blind)
#98A9D6
Tritanopia (blue-blind)
#F5809F
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec79d9;
/* rgb */ color: rgb(236, 121, 217);
/* oklch */ color: oklch(73.8% 0.181 333.8);
Tailwind
colors: {
  custom: {
    50: '#f4a3e5',
    500: '#ec79d9',
    950: '#000000',
  },
}
SCSS
$custom: #ec79d9;
$custom-light: #f4a3e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79d9",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 217
  },
  "hsl": {
    "h": 309.913,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.73792,
    "c": 0.18138,
    "h": 333.8
  },
  "luminance": 0.36517
}

Semantic roles & 50–950 ramp

primary
#EC79D9
secondary
#D0F0D6
accent
#D72F0E
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#170F15
muted
#857F84

Preview Lab

Preview with #EC79D9

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

Preview Lab → · Contrast checker → · Palette generator →

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