#A798AA#A798AA

#A798AA is a light, muted purple. Relative luminance 0.336; OKLCH L 69.8% C 0.031 H 320.6°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#A798AA
RGBrgb(167, 152, 170)
HSLhsl(290, 10%, 63%)
HSVhsv(290, 11%, 67%)
CMYKcmyk(1.8%, 10.6%, 0%, 33.3%)
CIE-LABlab(64.62, 8.87, -7.37)
CIE-LCHlch(64.62, 11.54, 320.27°)
OKLaboklab(69.84% 0.0239 -0.0197)
OKLCHoklch(69.84% 0.031 320.6)
XYZxyz(34.4192, 33.5746, 42.6897)
Luminance0.3357 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A798AA #9BAA98
analogous
#9E98AA #A798AA #AA98A4
triadic
#A798AA #AAA798 #98AAA7
tetradic
#A798AA #AA9E98 #9BAA98 #98A4AA
square
#A798AA #AA9E98 #9BAA98 #98A4AA
split-complementary
#A798AA #A4AA98 #98AA9E
monochromatic
#6A5A6D #8A768E #A798AA #C4BAC6 #E0DBE1

Accessibility & contrast

On white

2.72
#A798AA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#A798AA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A798AA
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A798AA#FFFFFF#000000##000000
##A798AA1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#969CAB
Deuteranopia (green-blind)
#999DA9
Tritanopia (blue-blind)
#A89A9E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a798aa;
/* rgb */ color: rgb(167, 152, 170);
/* oklch */ color: oklch(69.8% 0.031 320.6);
Tailwind
colors: {
  custom: {
    50: '#c1b6c3',
    500: '#a798aa',
    950: '#000000',
  },
}
SCSS
$custom: #a798aa;
$custom-light: #c1b6c3;
$custom-dark: #000000;
JSON
{
  "hex": "#a798aa",
  "rgb": {
    "r": 167,
    "g": 152,
    "b": 170
  },
  "hsl": {
    "h": 290,
    "s": 9.574,
    "l": 63.137
  },
  "oklch": {
    "l": 0.69839,
    "c": 0.03098,
    "h": 320.6
  },
  "luminance": 0.33574
}

Semantic roles & 50–950 ramp

primary
#A798AA
secondary
#CDD2CC
accent
#94525D
background
#FBFBFB
surface
#F7F6F7
border
#D0D0D0
text
#121112
muted
#818081

Preview Lab

Preview with #A798AA

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

Preview Lab → · Contrast checker → · Palette generator →

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