#EC79FC

A color in the Purple, Crimson, Magenta family

#ec79fc is a color in the Purple, Crimson, Magenta family: RGB(236, 121, 252), HSL(293°, 96%, 73%), CMYK(6%, 52%, 0%, 1%). Closest named color: violet. Contrast is 2.41:1 on white and 8.71:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ec79fc
RGBrgb(236 121 252)
RGB (legacy)rgb(236, 121, 252)
RGB %rgb(93% 47% 99%)
HSLhsl(293 96% 73%)
HSV / HSBhsv(293, 52%, 99%)
HWBhwb(293 47% 1%)
CMYKcmyk(6%, 52%, 0%, 1%)
CIELAB (D50)lab(68.22 58.73 -46.39)
LCHlch(68.22 74.84 321.7)
OKLaboklab(0.7539 0.1683 -0.1286)
OKLCHoklch(0.7539 0.2118 322.61)
Decimal15497724

Properties

Color TonePurple, Crimson, Magenta
Closest named colorviolet ΔE 3.1
Closest web-safe color#ff66ff
Hue293°
Saturation (HSL / HSV)96% / 52%
Lightness (HSL)73%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)67% / 61%
Relative luminance (WCAG)0.3854
Red / Green / Blue236 / 121 / 252

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.41:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.71:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 47 / -55 · As background with white / black text: Lc -52 / 57

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #ec79fc;
  --color-brand-oklch: oklch(75.39% 0.2118 322.61);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(236 121 252 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ec79fc] text-[#ec79fc] border-[#ec79fc]">