#AAA7EA

A color in the Violet family

#aaa7ea is a color in the Violet family: RGB(170, 167, 234), HSL(243°, 61%, 79%), CMYK(27%, 29%, 0%, 8%). Closest named color: plum. Contrast is 2.23:1 on white and 9.42:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#aaa7ea
RGBrgb(170 167 234)
RGB (legacy)rgb(170, 167, 234)
RGB %rgb(67% 65% 92%)
HSLhsl(243 61% 79%)
HSV / HSBhsv(243, 29%, 92%)
HWBhwb(243 65% 8%)
CMYKcmyk(27%, 29%, 0%, 8%)
CIELAB (D50)lab(70.62 12.12 -33.52)
LCHlch(70.62 35.64 289.87)
OKLaboklab(0.7555 0.0262 -0.0919)
OKLCHoklch(0.7555 0.0956 285.92)
Decimal11184106

Properties

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

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.23:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
9.42: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.9 / -58.3 · As background with white / black text: Lc -48.7 / 60.1

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: #aaa7ea;
  --color-brand-oklch: oklch(75.55% 0.0956 285.92);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(170 167 234 / 50%); }
/* Tailwind CSS */
<div class="bg-[#aaa7ea] text-[#aaa7ea] border-[#aaa7ea]">