#EC79ED#EC79ED

#EC79ED is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.7% C 0.198 H 327.0°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#EC79ED
RGBrgb(236, 121, 237)
HSLhsl(299, 76%, 70%)
HSVhsv(299, 49%, 93%)
CMYKcmyk(0.4%, 48.9%, 0%, 7.1%)
CIE-LABlab(67.74, 59.98, -39.32)
CIE-LCHlch(67.74, 71.72, 326.75°)
OKLaboklab(74.68% 0.1663 -0.1079)
OKLCHoklch(74.68% 0.198 327)
XYZxyz(56.7145, 37.6251, 84.3794)
Luminance0.3762 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79ED #7AED79
analogous
#B279ED #EC79ED #ED79B4
triadic
#EC79ED #EDEC79 #79EDEC
tetradic
#EC79ED #EDB279 #7AED79 #79B4ED
square
#EC79ED #EDB279 #7AED79 #79B4ED
split-complementary
#EC79ED #B4ED79 #79EDB2
monochromatic
#CE1CD0 #E443E6 #EC79ED #F4AFF4 #FBE4FB

Accessibility & contrast

On white

2.46
#EC79ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#EC79ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79ED
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79ED#FFFFFF#000000##000000
##EC79ED1.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF1
Deuteranopia (green-blind)
#90AAEA
Tritanopia (blue-blind)
#F286A8
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #ec79ed;
/* rgb */ color: rgb(236, 121, 237);
/* oklch */ color: oklch(74.7% 0.198 327.0);
Tailwind
colors: {
  custom: {
    50: '#f4a4f3',
    500: '#ec79ed',
    950: '#000000',
  },
}
SCSS
$custom: #ec79ed;
$custom-light: #f4a4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79ed",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 237
  },
  "hsl": {
    "h": 299.483,
    "s": 76.316,
    "l": 70.196
  },
  "oklch": {
    "l": 0.74676,
    "c": 0.19828,
    "h": 327
  },
  "luminance": 0.37622
}

Semantic roles & 50–950 ramp

primary
#EC79ED
secondary
#D1F1D1
accent
#D90D0F
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#170F17
muted
#857F85

Preview Lab

Preview with #EC79ED

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

Preview Lab → · Contrast checker → · Palette generator →

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