#E4E2FB

A color in the Violet family

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

Color Codes

HEX#e4e2fb
RGBrgb(228 226 251)
RGB (legacy)rgb(228, 226, 251)
RGB %rgb(89% 89% 98%)
HSLhsl(245 76% 94%)
HSV / HSBhsv(245, 10%, 98%)
HWBhwb(245 89% 2%)
CMYKcmyk(9%, 10%, 0%, 2%)
CIELAB (D50)lab(90.61 4.19 -11.93)
LCHlch(90.61 12.64 289.35)
OKLaboklab(0.9219 0.0112 -0.0319)
OKLCHoklch(0.9219 0.0338 289.39)
Decimal15000315

Properties

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

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.57: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.3 / -90.6 · As background with white / black text: Lc -15.3 / 90.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: #e4e2fb;
  --color-brand-oklch: oklch(92.19% 0.0338 289.39);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(228 226 251 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e4e2fb] text-[#e4e2fb] border-[#e4e2fb]">