#EC79DE#EC79DE

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

Color values

HEX#EC79DE
RGBrgb(236, 121, 222)
HSLhsl(307, 75%, 70%)
HSVhsv(307, 49%, 93%)
CMYKcmyk(0%, 48.7%, 5.9%, 7.5%)
CIE-LABlab(67.12, 57.42, -32.00)
CIE-LCHlch(67.12, 65.74, 330.87°)
OKLaboklab(74.01% 0.1638 -0.087)
OKLCHoklch(74.01% 0.185 332)
XYZxyz(54.6140, 36.7849, 73.3167)
Luminance0.3678 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#EC79DE #79EC87
analogous
#C079EC #EC79DE #EC79A5
triadic
#EC79DE #DEEC79 #79DEEC
tetradic
#EC79DE #ECC079 #79EC87 #79A5EC
square
#EC79DE #ECC079 #79EC87 #79A5EC
split-complementary
#EC79DE #A5EC79 #79ECC0
monochromatic
#CD1DB8 #E443D1 #EC79DE #F4AFEB #FBE4F8

Accessibility & contrast

On white

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

On black

8.36
#EC79DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #EC79DE
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##EC79DE#FFFFFF#000000##000000
##EC79DE1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7599E1
Deuteranopia (green-blind)
#96A9DB
Tritanopia (blue-blind)
#F481A1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #ec79de;
/* rgb */ color: rgb(236, 121, 222);
/* oklch */ color: oklch(74.0% 0.185 332.0);
Tailwind
colors: {
  custom: {
    50: '#f4a3e8',
    500: '#ec79de',
    950: '#000000',
  },
}
SCSS
$custom: #ec79de;
$custom-light: #f4a3e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ec79de",
  "rgb": {
    "r": 236,
    "g": 121,
    "b": 222
  },
  "hsl": {
    "h": 307.304,
    "s": 75.163,
    "l": 70
  },
  "oklch": {
    "l": 0.74005,
    "c": 0.18545,
    "h": 332
  },
  "luminance": 0.36782
}

Semantic roles & 50–950 ramp

primary
#EC79DE
secondary
#D0F0D4
accent
#D7270E
background
#FFFAFE
surface
#FFF4FC
border
#D7CED5
text
#170F16
muted
#857F84

Preview Lab

Preview with #EC79DE

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

Preview Lab → · Contrast checker → · Palette generator →

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