#F8A2FA

A color in the Purple, Crimson, Magenta family

#f8a2fa is a color in the Purple, Crimson, Magenta family: RGB(248, 162, 250), HSL(299°, 90%, 81%), CMYK(1%, 35%, 0%, 2%). Closest named color: plum. Contrast is 1.82:1 on white and 11.54:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#f8a2fa
RGBrgb(248 162 250)
RGB (legacy)rgb(248, 162, 250)
RGB %rgb(97% 64% 98%)
HSLhsl(299 90% 81%)
HSV / HSBhsv(299, 35%, 98%)
HWBhwb(299 64% 2%)
CMYKcmyk(1%, 35%, 0%, 2%)
CIELAB (D50)lab(77.63 42.62 -30.64)
LCHlch(77.63 52.5 324.29)
OKLaboklab(0.8259 0.1248 -0.084)
OKLCHoklch(0.8259 0.1504 326.05)
Decimal16294650

Properties

Color TonePurple, Crimson, Magenta
Closest named colorplum ΔE 6
Closest web-safe color#ff99ff
Hue299°
Saturation (HSL / HSV)90% / 35%
Lightness (HSL)81%
Brightness or Value (HSV)98%
Luminance (Rec.601 / Rec.709)78% / 73%
Relative luminance (WCAG)0.527
Red / Green / Blue248 / 162 / 250

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.82:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
11.54: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 33.8 / -68.8 · As background with white / black text: Lc -37.9 / 70.1

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: #f8a2fa;
  --color-brand-oklch: oklch(82.59% 0.1504 326.05);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(248 162 250 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f8a2fa] text-[#f8a2fa] border-[#f8a2fa]">