#F97FF7

A color in the Purple, Crimson, Magenta family

#f97ff7 is a color in the Purple, Crimson, Magenta family: RGB(249, 127, 247), HSL(301°, 91%, 74%), CMYK(0%, 49%, 1%, 2%). Closest named color: violet. Contrast is 2.23:1 on white and 9.41:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#f97ff7
RGBrgb(249 127 247)
RGB (legacy)rgb(249, 127, 247)
RGB %rgb(98% 50% 97%)
HSLhsl(301 91% 74%)
HSV / HSBhsv(301, 49%, 98%)
HWBhwb(301 50% 2%)
CMYKcmyk(0%, 49%, 1%, 2%)
CIELAB (D50)lab(70.82 59.14 -39.46)
LCHlch(70.82 71.1 326.29)
OKLaboklab(0.7749 0.1741 -0.109)
OKLCHoklch(0.7749 0.2054 327.94)
Decimal16351223

Properties

Color TonePurple, Crimson, Magenta
Closest named colorviolet ΔE 2.3
Closest web-safe color#ff66ff
Hue301°
Saturation (HSL / HSV)91% / 49%
Lightness (HSL)74%
Brightness or Value (HSV)98%
Luminance (Rec.601 / Rec.709)69% / 63%
Relative luminance (WCAG)0.4203
Red / Green / Blue249 / 127 / 247

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.23:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.41: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 43.5 / -58.7 · As background with white / black text: Lc -48.3 / 60.5

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: #f97ff7;
  --color-brand-oklch: oklch(77.49% 0.2054 327.94);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(249 127 247 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f97ff7] text-[#f97ff7] border-[#f97ff7]">