#E4E2FC

A color in the Violet family

#e4e2fc is a color in the Violet family: RGB(228, 226, 252), HSL(245°, 81%, 94%), CMYK(10%, 10%, 0%, 1%). Closest named color: lavender. Contrast is 1.27:1 on white and 16.58:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#e4e2fc
RGBrgb(228 226 252)
RGB (legacy)rgb(228, 226, 252)
RGB %rgb(89% 89% 99%)
HSLhsl(245 81% 94%)
HSV / HSBhsv(245, 10%, 99%)
HWBhwb(245 89% 1%)
CMYKcmyk(10%, 10%, 0%, 1%)
CIELAB (D50)lab(90.64 4.34 -12.41)
LCHlch(90.64 13.15 289.26)
OKLaboklab(0.9222 0.0116 -0.0332)
OKLCHoklch(0.9222 0.0352 289.22)
Decimal15000316

Properties

Color ToneViolet
Closest named colorlavender ΔE 1.2
Closest web-safe color#ccccff
Hue245°
Saturation (HSL / HSV)81% / 10%
Lightness (HSL)94%
Brightness or Value (HSV)99%
Luminance (Rec.601 / Rec.709)90% / 90%
Relative luminance (WCAG)0.7791
Red / Green / Blue228 / 226 / 252

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.27:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
16.58: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 13.2 / -90.7 · As background with white / black text: Lc -15.3 / 90.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: #e4e2fc;
  --color-brand-oklch: oklch(92.22% 0.0352 289.22);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(228 226 252 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e4e2fc] text-[#e4e2fc] border-[#e4e2fc]">