#E4E2FF

A color in the Violet family

#e4e2ff is a color in the Violet family: RGB(228, 226, 255), HSL(244°, 100%, 94%), CMYK(11%, 11%, 0%, 0%). Closest named color: lavender. Contrast is 1.26:1 on white and 16.62:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#e4e2ff
RGBrgb(228 226 255)
RGB (legacy)rgb(228, 226, 255)
RGB %rgb(89% 89% 100%)
HSLhsl(244 100% 94%)
HSV / HSBhsv(244, 11%, 100%)
HWBhwb(244 89% 0%)
CMYKcmyk(11%, 11%, 0%, 0%)
CIELAB (D50)lab(90.71 4.78 -13.87)
LCHlch(90.71 14.67 289.03)
OKLaboklab(0.9232 0.0126 -0.0371)
OKLCHoklch(0.9232 0.0392 288.77)
Decimal15000319

Properties

Color ToneViolet
Closest named colorlavender ΔE 1.5
Closest web-safe color#ccccff
Hue244°
Saturation (HSL / HSV)100% / 11%
Lightness (HSL)94%
Brightness or Value (HSV)100%
Luminance (Rec.601 / Rec.709)90% / 90%
Relative luminance (WCAG)0.7811
Red / Green / Blue228 / 226 / 255

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.26:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
16.62: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.1 / -90.8 · As background with white / black text: Lc -15.1 / 90.5

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: #e4e2ff;
  --color-brand-oklch: oklch(92.32% 0.0392 288.77);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(228 226 255 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e4e2ff] text-[#e4e2ff] border-[#e4e2ff]">