#F4E7FA

A color in the Purple, Crimson, Magenta family

#f4e7fa is a color in the Purple, Crimson, Magenta family: RGB(244, 231, 250), HSL(281°, 66%, 94%), CMYK(2%, 8%, 0%, 2%). Closest named color: lavender. Contrast is 1.19:1 on white and 17.66:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#f4e7fa
RGBrgb(244 231 250)
RGB (legacy)rgb(244, 231, 250)
RGB %rgb(96% 91% 98%)
HSLhsl(281 66% 94%)
HSV / HSBhsv(281, 8%, 98%)
HWBhwb(281 91% 2%)
CMYKcmyk(2%, 8%, 0%, 2%)
CIELAB (D50)lab(93.11 7.06 -7.57)
LCHlch(93.11 10.35 312.98)
OKLaboklab(0.9438 0.0205 -0.0202)
OKLCHoklch(0.9438 0.0288 315.33)
Decimal16050170

Properties

Color TonePurple, Crimson, Magenta
Closest named colorlavender ΔE 1.9
Closest web-safe color#ffffff
Hue281°
Saturation (HSL / HSV)66% / 8%
Lightness (HSL)94%
Brightness or Value (HSV)98%
Luminance (Rec.601 / Rec.709)93% / 92%
Relative luminance (WCAG)0.8329
Red / Green / Blue244 / 231 / 250

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.19:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
17.66: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 9.2 / -95 · As background with white / black text: Lc -10.8 / 94.3

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: #f4e7fa;
  --color-brand-oklch: oklch(94.38% 0.0288 315.33);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(244 231 250 / 50%); }
/* Tailwind CSS */
<div class="bg-[#f4e7fa] text-[#f4e7fa] border-[#f4e7fa]">