#AAA2CA

A color in the Violet family

#aaa2ca is a color in the Violet family: RGB(170, 162, 202), HSL(252°, 27%, 71%), CMYK(16%, 20%, 0%, 21%). Closest named color: darkgray. Contrast is 2.41:1 on white and 8.73:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#aaa2ca
RGBrgb(170 162 202)
RGB (legacy)rgb(170, 162, 202)
RGB %rgb(67% 64% 79%)
HSLhsl(252 27% 71%)
HSV / HSBhsv(252, 20%, 79%)
HWBhwb(252 64% 21%)
CMYKcmyk(16%, 20%, 0%, 21%)
CIELAB (D50)lab(68.33 9.06 -19.49)
LCHlch(68.33 21.5 294.94)
OKLaboklab(0.7326 0.0236 -0.0528)
OKLCHoklch(0.7326 0.0578 294.1)
Decimal11182794

Properties

Color ToneViolet
Closest named colordarkgray ΔE 5.8
Closest web-safe color#9999cc
Hue252°
Saturation (HSL / HSV)27% / 20%
Lightness (HSL)71%
Brightness or Value (HSV)79%
Luminance (Rec.601 / Rec.709)66% / 65%
Relative luminance (WCAG)0.3865
Red / Green / Blue170 / 162 / 202

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.41:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.73: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 47.4 / -54.6 · As background with white / black text: Lc -52.4 / 56.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: #aaa2ca;
  --color-brand-oklch: oklch(73.26% 0.0578 294.1);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(170 162 202 / 50%); }
/* Tailwind CSS */
<div class="bg-[#aaa2ca] text-[#aaa2ca] border-[#aaa2ca]">