#AAA8EA

A color in the Violet family

#aaa8ea is a color in the Violet family: RGB(170, 168, 234), HSL(242°, 61%, 79%), CMYK(27%, 28%, 0%, 8%). Closest named color: plum. Contrast is 2.21:1 on white and 9.5:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#aaa8ea
RGBrgb(170 168 234)
RGB (legacy)rgb(170, 168, 234)
RGB %rgb(67% 66% 92%)
HSLhsl(242 61% 79%)
HSV / HSBhsv(242, 28%, 92%)
HWBhwb(242 66% 8%)
CMYKcmyk(27%, 28%, 0%, 8%)
CIELAB (D50)lab(70.87 11.59 -33.13)
LCHlch(70.87 35.1 289.29)
OKLaboklab(0.7575 0.0248 -0.0908)
OKLCHoklch(0.7575 0.0941 285.31)
Decimal11184362

Properties

Color ToneViolet
Closest named colorplum ΔE 7.7
Closest web-safe color#9999ff
Hue242°
Saturation (HSL / HSV)61% / 28%
Lightness (HSL)79%
Brightness or Value (HSV)92%
Luminance (Rec.601 / Rec.709)69% / 68%
Relative luminance (WCAG)0.4249
Red / Green / Blue170 / 168 / 234

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.21:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.50: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 43.5 / -58.7 · As background with white / black text: Lc -48.3 / 60.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: #aaa8ea;
  --color-brand-oklch: oklch(75.75% 0.0941 285.31);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(170 168 234 / 50%); }
/* Tailwind CSS */
<div class="bg-[#aaa8ea] text-[#aaa8ea] border-[#aaa8ea]">