#EC79F3

A color in the Purple, Crimson, Magenta family

#ec79f3 is a color in the Purple, Crimson, Magenta family: RGB(236, 121, 243), HSL(297°, 84%, 71%), CMYK(3%, 50%, 0%, 5%). Closest named color: violet. Contrast is 2.44:1 on white and 8.6:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ec79f3
RGBrgb(236 121 243)
RGB (legacy)rgb(236, 121, 243)
RGB %rgb(93% 47% 95%)
HSLhsl(297 84% 71%)
HSV / HSBhsv(297, 50%, 95%)
HWBhwb(297 47% 5%)
CMYKcmyk(3%, 50%, 0%, 5%)
CIELAB (D50)lab(67.88 57.51 -42)
LCHlch(67.88 71.22 323.86)
OKLaboklab(0.7496 0.1672 -0.1163)
OKLCHoklch(0.7496 0.2036 325.19)
Decimal15497715

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.44:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.60: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.6 / -54.4 · As background with white / black text: Lc -52.6 / 56.4

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