#A6A2B2#A6A2B2

#A6A2B2 is a light, muted violet. Relative luminance 0.372; OKLCH L 72.1% C 0.023 H 297.2°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#A6A2B2
RGBrgb(166, 162, 178)
HSLhsl(255, 9%, 67%)
HSVhsv(255, 9%, 70%)
CMYKcmyk(6.7%, 9%, 0%, 30.2%)
CIE-LABlab(67.40, 4.55, -7.74)
CIE-LCHlch(67.40, 8.98, 300.48°)
OKLaboklab(72.07% 0.0107 -0.0207)
OKLCHoklch(72.07% 0.023 297.2)
XYZxyz(36.6806, 37.1619, 47.3514)
Luminance0.3716 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A2B2 #AEB2A2
analogous
#A2A6B2 #A6A2B2 #AEA2B2
triadic
#A6A2B2 #B2A6A2 #A2B2A6
tetradic
#A6A2B2 #B2A2A6 #AEB2A2 #A2B2AE
square
#A6A2B2 #B2A2A6 #AEB2A2 #A2B2AE
split-complementary
#A6A2B2 #B2AEA2 #A6B2A2
monochromatic
#686377 #868196 #A6A2B2 #C6C3CE #E6E5E9

Accessibility & contrast

On white

2.49
#A6A2B2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#A6A2B2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A2B2
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A2B2#FFFFFF#000000##000000
##A6A2B21.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FA4B3
Deuteranopia (green-blind)
#A0A4B1
Tritanopia (blue-blind)
#A4A4A7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a6a2b2;
/* rgb */ color: rgb(166, 162, 178);
/* oklch */ color: oklch(72.1% 0.023 297.2);
Tailwind
colors: {
  custom: {
    50: '#c0bdc9',
    500: '#a6a2b2',
    950: '#000000',
  },
}
SCSS
$custom: #a6a2b2;
$custom-light: #c0bdc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a2b2",
  "rgb": {
    "r": 166,
    "g": 162,
    "b": 178
  },
  "hsl": {
    "h": 255,
    "s": 9.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.72065,
    "c": 0.02331,
    "h": 297.2
  },
  "luminance": 0.37162
}

Semantic roles & 50–950 ramp

primary
#A6A2B2
secondary
#D9DAD5
accent
#935283
background
#FBFBFC
surface
#F7F6F8
border
#D0D0D1
text
#121213
muted
#818182

Preview Lab

Preview with #A6A2B2

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A6A2B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva