#F299FE

A color in the Purple, Crimson, Magenta family

#f299fe is a color in the Purple, Crimson, Magenta family: RGB(242, 153, 254), HSL(293°, 98%, 80%), CMYK(5%, 40%, 0%, 0%). Closest named color: violet. Contrast is 1.95:1 on white and 10.76:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#f299fe
RGBrgb(242 153 254)
RGB (legacy)rgb(242, 153, 254)
RGB %rgb(95% 60% 100%)
HSLhsl(293 98% 80%)
HSV / HSBhsv(293, 40%, 100%)
HWBhwb(293 60% 0%)
CMYKcmyk(5%, 40%, 0%, 0%)
CIELAB (D50)lab(75.2 45.67 -36.58)
LCHlch(75.2 58.51 321.3)
OKLaboklab(0.8072 0.1318 -0.1007)
OKLCHoklch(0.8072 0.1659 322.63)
Decimal15899134

Properties

Color TonePurple, Crimson, Magenta
Closest named colorviolet ΔE 5.2
Closest web-safe color#ff99ff
Hue293°
Saturation (HSL / HSV)98% / 40%
Lightness (HSL)80%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)75% / 70%
Relative luminance (WCAG)0.4882
Red / Green / Blue242 / 153 / 254

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.95:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
10.76: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 37.3 / -65.2 · As background with white / black text: Lc -41.6 / 66.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: #f299fe;
  --color-brand-oklch: oklch(80.72% 0.1659 322.63);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(242 153 254 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f299fe] text-[#f299fe] border-[#f299fe]">