#FFE2FA

A color in the Purple, Crimson, Magenta family

#ffe2fa is a color in the Purple, Crimson, Magenta family: RGB(255, 226, 250), HSL(310°, 100%, 94%), CMYK(0%, 11%, 2%, 0%). Closest named color: lavender. Contrast is 1.2:1 on white and 17.51:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#ffe2fa
RGBrgb(255 226 250)
RGB (legacy)rgb(255, 226, 250)
RGB %rgb(100% 89% 98%)
HSLhsl(310 100% 94%)
HSV / HSBhsv(310, 11%, 100%)
HWBhwb(310 89% 0%)
CMYKcmyk(0%, 11%, 2%, 0%)
CIELAB (D50)lab(92.82 13.29 -7.85)
LCHlch(92.82 15.43 329.41)
OKLaboklab(0.9434 0.0392 -0.0211)
OKLCHoklch(0.9434 0.0445 331.66)
Decimal16769786

Properties

Color TonePurple, Crimson, Magenta
Closest named colorlavender ΔE 3.5
Closest web-safe color#ffccff
Hue310°
Saturation (HSL / HSV)100% / 11%
Lightness (HSL)94%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)93% / 92%
Relative luminance (WCAG)0.8255
Red / Green / Blue255 / 226 / 250

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.20:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
17.51: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.7 / -94.4 · As background with white / black text: Lc -11.4 / 93.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: #ffe2fa;
  --color-brand-oklch: oklch(94.34% 0.0445 331.66);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(255 226 250 / 50%); }
/* Tailwind CSS */
<div class="bg-[#ffe2fa] text-[#ffe2fa] border-[#ffe2fa]">