#EC79DF#EC79DF

#EC79DF is a light, vivid purple. Relative luminance 0.368; OKLCH L 74.0% C 0.186 H 331.7°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#EC79DF
RGBrgb(236, 121, 223)
HSLhsl(307, 75%, 70%)
HSVhsv(307, 49%, 93%)
CMYKcmyk(0%, 48.7%, 5.5%, 7.5%)
CIE-LABlab(67.16, 57.59, -32.49)
CIE-LCHlch(67.16, 66.12, 330.57°)
OKLaboklab(74.05% 0.1639 -0.0884)
OKLCHoklch(74.05% 0.186 331.7)
XYZxyz(54.7484, 36.8387, 74.0246)
Luminance0.3684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79DF #79EC86
analogous
#C079EC #EC79DF #EC79A5
triadic
#EC79DF #DFEC79 #79DFEC
tetradic
#EC79DF #ECC079 #79EC86 #79A5EC
square
#EC79DF #ECC079 #79EC86 #79A5EC
split-complementary
#EC79DF #A5EC79 #79ECC0
monochromatic
#CD1DBA #E443D2 #EC79DF #F4AFEC #FBE4F9

Accessibility & contrast

On white

2.51
#EC79DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#EC79DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79DF
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79DF#FFFFFF#000000##000000
##EC79DF1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E2
Deuteranopia (green-blind)
#96A9DC
Tritanopia (blue-blind)
#F481A2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec79df;
/* rgb */ color: rgb(236, 121, 223);
/* oklch */ color: oklch(74.0% 0.186 331.7);
Tailwind
colors: {
  custom: {
    50: '#f4a3e9',
    500: '#ec79df',
    950: '#000000',
  },
}
SCSS
$custom: #ec79df;
$custom-light: #f4a3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79df",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 223
  },
  "hsl": {
    "h": 306.783,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.74049,
    "c": 0.18628,
    "h": 331.7
  },
  "luminance": 0.36835
}

Semantic roles & 50–950 ramp

primary
#EC79DF
secondary
#D0F0D4
accent
#D7250E
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC79DF

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

Preview Lab → · Contrast checker → · Palette generator →

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