#A797BB#A797BB

#A797BB is a light, muted violet. Relative luminance 0.339; OKLCH L 70.2% C 0.055 H 305.2°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#A797BB
RGBrgb(167, 151, 187)
HSLhsl(267, 21%, 66%)
HSVhsv(267, 19%, 73%)
CMYKcmyk(10.7%, 19.3%, 0%, 26.7%)
CIE-LABlab(64.91, 12.91, -16.48)
CIE-LCHlch(64.91, 20.94, 308.06°)
OKLaboklab(70.25% 0.0315 -0.0447)
OKLCHoklch(70.25% 0.055 305.2)
XYZxyz(35.9709, 33.9367, 51.6595)
Luminance0.3394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A797BB #ABBB97
analogous
#9799BB #A797BB #B997BB
triadic
#A797BB #BBA797 #97BBA7
tetradic
#A797BB #BB9799 #ABBB97 #97BBB9
square
#A797BB #BB9799 #ABBB97 #97BBB9
split-complementary
#A797BB #BBB997 #99BB97
monochromatic
#695582 #8872A3 #A797BB #C6BCD3 #E6E1EB

Accessibility & contrast

On white

2.70
#A797BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#A797BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A797BB
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A797BB#FFFFFF#000000##000000
##A797BB1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#919DBD
Deuteranopia (green-blind)
#949EBA
Tritanopia (blue-blind)
#A49CA3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a797bb;
/* rgb */ color: rgb(167, 151, 187);
/* oklch */ color: oklch(70.2% 0.055 305.2);
Tailwind
colors: {
  custom: {
    50: '#c1b5cf',
    500: '#a797bb',
    950: '#000000',
  },
}
SCSS
$custom: #a797bb;
$custom-light: #c1b5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a797bb",
  "rgb": {
    "r": 167,
    "g": 151,
    "b": 187
  },
  "hsl": {
    "h": 266.667,
    "s": 20.93,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70245,
    "c": 0.05467,
    "h": 305.2
  },
  "luminance": 0.33937
}

Semantic roles & 50–950 ramp

primary
#A797BB
secondary
#D8DDD1
accent
#9F4678
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121113
muted
#818082

Preview Lab

Preview with #A797BB

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

Preview Lab → · Contrast checker → · Palette generator →

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