#F2AFFC

A color in the Purple, Crimson, Magenta family

#f2affc is a color in the Purple, Crimson, Magenta family: RGB(242, 175, 252), HSL(292°, 93%, 84%), CMYK(4%, 31%, 0%, 1%). Closest named color: plum. Contrast is 1.71:1 on white and 12.31:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#f2affc
RGBrgb(242 175 252)
RGB (legacy)rgb(242, 175, 252)
RGB %rgb(95% 69% 99%)
HSLhsl(292 93% 84%)
HSV / HSBhsv(292, 31%, 99%)
HWBhwb(292 69% 1%)
CMYKcmyk(4%, 31%, 0%, 1%)
CIELAB (D50)lab(79.83 34.48 -28.43)
LCHlch(79.83 44.69 320.49)
OKLaboklab(0.8417 0.0998 -0.0777)
OKLCHoklch(0.8417 0.1265 322.1)
Decimal15904764

Properties

Color TonePurple, Crimson, Magenta
Closest named colorplum ΔE 6.2
Closest web-safe color#ff99ff
Hue292°
Saturation (HSL / HSV)93% / 31%
Lightness (HSL)84%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)80% / 76%
Relative luminance (WCAG)0.5657
Red / Green / Blue242 / 175 / 252

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.71:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
12.31: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 30.4 / -72.4 · As background with white / black text: Lc -34.2 / 73.4

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: #f2affc;
  --color-brand-oklch: oklch(84.17% 0.1265 322.1);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(242 175 252 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f2affc] text-[#f2affc] border-[#f2affc]">