#AAA2EE

A color in the Violet family

#aaa2ee is a color in the Violet family: RGB(170, 162, 238), HSL(246°, 69%, 78%), CMYK(29%, 32%, 0%, 7%). Closest named color: plum. Contrast is 2.3:1 on white and 9.11:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#aaa2ee
RGBrgb(170 162 238)
RGB (legacy)rgb(170, 162, 238)
RGB %rgb(67% 64% 93%)
HSLhsl(246 69% 78%)
HSV / HSBhsv(246, 32%, 93%)
HWBhwb(246 64% 7%)
CMYKcmyk(29%, 32%, 0%, 7%)
CIELAB (D50)lab(69.49 15.5 -37.43)
LCHlch(69.49 40.52 292.49)
OKLaboklab(0.7477 0.0341 -0.103)
OKLCHoklch(0.7477 0.1085 288.3)
Decimal11182830

Properties

Color ToneViolet
Closest named colorplum ΔE 7.9
Closest web-safe color#9999ff
Hue246°
Saturation (HSL / HSV)69% / 32%
Lightness (HSL)78%
Brightness or Value (HSV)93%
Luminance (Rec.601 / Rec.709)68% / 66%
Relative luminance (WCAG)0.4056
Red / Green / Blue170 / 162 / 238

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.30:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.11: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 45.4 / -56.7 · As background with white / black text: Lc -50.3 / 58.6

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: #aaa2ee;
  --color-brand-oklch: oklch(74.77% 0.1085 288.3);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(170 162 238 / 50%); }
/* Tailwind CSS */
<div class="bg-[#aaa2ee] text-[#aaa2ee] border-[#aaa2ee]">