#F79DFD

A color in the Purple, Crimson, Magenta family

#f79dfd is a color in the Purple, Crimson, Magenta family: RGB(247, 157, 253), HSL(296°, 96%, 80%), CMYK(2%, 38%, 0%, 1%). Closest named color: violet. Contrast is 1.88:1 on white and 11.2:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f79dfd
RGBrgb(247 157 253)
RGB (legacy)rgb(247, 157, 253)
RGB %rgb(97% 62% 99%)
HSLhsl(296 96% 80%)
HSV / HSBhsv(296, 38%, 99%)
HWBhwb(296 62% 1%)
CMYKcmyk(2%, 38%, 0%, 1%)
CIELAB (D50)lab(76.57 45.16 -33.89)
LCHlch(76.57 56.46 323.12)
OKLaboklab(0.8183 0.1315 -0.0931)
OKLCHoklch(0.8183 0.1611 324.71)
Decimal16227837

Properties

Color TonePurple, Crimson, Magenta
Closest named colorviolet ΔE 6.2
Closest web-safe color#ff99ff
Hue296°
Saturation (HSL / HSV)96% / 38%
Lightness (HSL)80%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)76% / 72%
Relative luminance (WCAG)0.5098
Red / Green / Blue247 / 157 / 253

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.88:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
11.20: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 35.3 / -67.2 · As background with white / black text: Lc -39.5 / 68.6

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: #f79dfd;
  --color-brand-oklch: oklch(81.83% 0.1611 324.71);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(247 157 253 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f79dfd] text-[#f79dfd] border-[#f79dfd]">