#EC79FB

A color in the Purple, Crimson, Magenta family

#ec79fb is a color in the Purple, Crimson, Magenta family: RGB(236, 121, 251), HSL(293°, 94%, 73%), CMYK(6%, 52%, 0%, 2%). Closest named color: violet. Contrast is 2.42:1 on white and 8.69:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#ec79fb
RGBrgb(236 121 251)
RGB (legacy)rgb(236, 121, 251)
RGB %rgb(93% 47% 98%)
HSLhsl(293 94% 73%)
HSV / HSBhsv(293, 52%, 98%)
HWBhwb(293 47% 2%)
CMYKcmyk(6%, 52%, 0%, 2%)
CIELAB (D50)lab(68.18 58.59 -45.9)
LCHlch(68.18 74.43 321.92)
OKLaboklab(0.7534 0.1682 -0.1273)
OKLCHoklch(0.7534 0.2109 322.88)
Decimal15497723

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.42:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.69: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.1 / -55 · As background with white / black text: Lc -52 / 56.9

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