#EC79F1

A color in the Purple, Crimson, Magenta family

#ec79f1 is a color in the Purple, Crimson, Magenta family: RGB(236, 121, 241), HSL(298°, 81%, 71%), CMYK(2%, 50%, 0%, 5%). Closest named color: violet. Contrast is 2.45:1 on white and 8.57:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ec79f1
RGBrgb(236 121 241)
RGB (legacy)rgb(236, 121, 241)
RGB %rgb(93% 47% 95%)
HSLhsl(298 81% 71%)
HSV / HSBhsv(298, 50%, 95%)
HWBhwb(298 47% 5%)
CMYKcmyk(2%, 50%, 0%, 5%)
CIELAB (D50)lab(67.8 57.25 -41.02)
LCHlch(67.8 70.43 324.38)
OKLaboklab(0.7486 0.1669 -0.1135)
OKLCHoklch(0.7486 0.2018 325.79)
Decimal15497713

Properties

Color TonePurple, Crimson, Magenta
Closest named colorviolet ΔE 2.1
Closest web-safe color#ff66ff
Hue298°
Saturation (HSL / HSV)81% / 50%
Lightness (HSL)71%
Brightness or Value (HSV)95%
Luminance (Rec.601 / Rec.709)66% / 60%
Relative luminance (WCAG)0.3786
Red / Green / Blue236 / 121 / 241

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.45:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.57: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.7 / -54.3 · As background with white / black text: Lc -52.7 / 56.3

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: #ec79f1;
  --color-brand-oklch: oklch(74.86% 0.2018 325.79);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(236 121 241 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ec79f1] text-[#ec79f1] border-[#ec79f1]">