#AAA2EA

A color in the Violet family

#aaa2ea is a color in the Violet family: RGB(170, 162, 234), HSL(247°, 63%, 78%), CMYK(27%, 31%, 0%, 8%). Closest named color: plum. Contrast is 2.32:1 on white and 9.07:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#aaa2ea
RGBrgb(170 162 234)
RGB (legacy)rgb(170, 162, 234)
RGB %rgb(67% 64% 92%)
HSLhsl(247 63% 78%)
HSV / HSBhsv(247, 31%, 92%)
HWBhwb(247 64% 8%)
CMYKcmyk(27%, 31%, 0%, 8%)
CIELAB (D50)lab(69.35 14.75 -35.47)
LCHlch(69.35 38.41 292.57)
OKLaboklab(0.7458 0.033 -0.0974)
OKLCHoklch(0.7458 0.1029 288.73)
Decimal11182826

Properties

Color ToneViolet
Closest named colorplum ΔE 7.8
Closest web-safe color#9999ff
Hue247°
Saturation (HSL / HSV)63% / 31%
Lightness (HSL)78%
Brightness or Value (HSV)92%
Luminance (Rec.601 / Rec.709)68% / 66%
Relative luminance (WCAG)0.4033
Red / Green / Blue170 / 162 / 234

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.32:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.07: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.6 / -56.4 · As background with white / black text: Lc -50.5 / 58.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: #aaa2ea;
  --color-brand-oklch: oklch(74.58% 0.1029 288.73);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(170 162 234 / 50%); }
/* Tailwind CSS */
<div class="bg-[#aaa2ea] text-[#aaa2ea] border-[#aaa2ea]">