#FEF1FA

A color in the Purple, Crimson, Magenta family

#fef1fa is a color in the Purple, Crimson, Magenta family: RGB(254, 241, 250), HSL(318°, 87%, 97%), CMYK(0%, 5%, 2%, 0%). Closest named color: lavenderblush. Contrast is 1.1:1 on white and 19.18:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#fef1fa
RGBrgb(254 241 250)
RGB (legacy)rgb(254, 241, 250)
RGB %rgb(100% 95% 98%)
HSLhsl(318 87% 97%)
HSV / HSBhsv(318, 5%, 100%)
HWBhwb(318 95% 0%)
CMYKcmyk(0%, 5%, 2%, 0%)
CIELAB (D50)lab(96.37 5.67 -2.7)
LCHlch(96.37 6.28 334.55)
OKLaboklab(0.9709 0.0167 -0.0073)
OKLCHoklch(0.9709 0.0182 336.54)
Decimal16708090

Properties

Color TonePurple, Crimson, Magenta
Closest named colorlavenderblush ΔE 0.6
Closest web-safe color#ffffff
Hue318°
Saturation (HSL / HSV)87% / 5%
Lightness (HSL)97%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)96% / 96%
Relative luminance (WCAG)0.9088
Red / Green / Blue254 / 241 / 250

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.10:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
19.18: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 0 / -101 · As background with white / black text: Lc 0 / 99.8

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: #fef1fa;
  --color-brand-oklch: oklch(97.09% 0.0182 336.54);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(254 241 250 / 50%); }
/* Tailwind CSS */
<div class="bg-[#fef1fa] text-[#fef1fa] border-[#fef1fa]">