#A8A2CD

A color in the Violet family

#a8a2cd is a color in the Violet family: RGB(168, 162, 205), HSL(248°, 30%, 72%), CMYK(18%, 21%, 0%, 20%). Closest named color: darkgray. Contrast is 2.41:1 on white and 8.71:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#a8a2cd
RGBrgb(168 162 205)
RGB (legacy)rgb(168, 162, 205)
RGB %rgb(66% 64% 80%)
HSLhsl(248 30% 72%)
HSV / HSBhsv(248, 21%, 80%)
HWBhwb(248 64% 20%)
CMYKcmyk(18%, 21%, 0%, 20%)
CIELAB (D50)lab(68.25 8.89 -21.29)
LCHlch(68.25 23.07 292.66)
OKLaboklab(0.7321 0.0224 -0.0577)
OKLCHoklch(0.7321 0.0619 291.18)
Decimal11051725

Properties

Color ToneViolet
Closest named colordarkgray ΔE 6.2
Closest web-safe color#9999cc
Hue248°
Saturation (HSL / HSV)30% / 21%
Lightness (HSL)72%
Brightness or Value (HSV)80%
Luminance (Rec.601 / Rec.709)66% / 65%
Relative luminance (WCAG)0.3857
Red / Green / Blue168 / 162 / 205

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.71: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.5 / -54.6 · As background with white / black text: Lc -52.4 / 56.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: #a8a2cd;
  --color-brand-oklch: oklch(73.21% 0.0619 291.18);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(168 162 205 / 50%); }
/* Tailwind CSS */
<div class="bg-[#a8a2cd] text-[#a8a2cd] border-[#a8a2cd]">