#A796BB#A796BB

#A796BB is a light, muted violet. Relative luminance 0.336; OKLCH L 70.0% C 0.056 H 305.8°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#A796BB
RGBrgb(167, 150, 187)
HSLhsl(268, 21%, 66%)
HSVhsv(268, 20%, 73%)
CMYKcmyk(10.7%, 19.8%, 0%, 26.7%)
CIE-LABlab(64.66, 13.47, -16.87)
CIE-LCHlch(64.66, 21.59, 308.60°)
OKLaboklab(70.05% 0.033 -0.0457)
OKLCHoklch(70.05% 0.056 305.8)
XYZxyz(35.8107, 33.6162, 51.6061)
Luminance0.3362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A796BB #AABB96
analogous
#9697BB #A796BB #B996BB
triadic
#A796BB #BBA796 #96BBA7
tetradic
#A796BB #BB9697 #AABB96 #96BBB9
square
#A796BB #BB9697 #AABB96 #96BBB9
split-complementary
#A796BB #BBB996 #97BB96
monochromatic
#695482 #8871A3 #A796BB #C6BBD3 #E5E0EB

Accessibility & contrast

On white

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

On black

7.72
#A796BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A796BB
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A796BB#FFFFFF#000000##000000
##A796BB1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#909CBD
Deuteranopia (green-blind)
#939DBA
Tritanopia (blue-blind)
#A49BA2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a796bb;
/* rgb */ color: rgb(167, 150, 187);
/* oklch */ color: oklch(70.0% 0.056 305.8);
Tailwind
colors: {
  custom: {
    50: '#c1b4cf',
    500: '#a796bb',
    950: '#000000',
  },
}
SCSS
$custom: #a796bb;
$custom-light: #c1b4cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a796bb",
  "rgb": {
    "r": 167,
    "g": 150,
    "b": 187
  },
  "hsl": {
    "h": 267.568,
    "s": 21.387,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70047,
    "c": 0.05642,
    "h": 305.8
  },
  "luminance": 0.33616
}

Semantic roles & 50–950 ramp

primary
#A796BB
secondary
#D7DCD0
accent
#A04676
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121113
muted
#818082

Preview Lab

Preview with #A796BB

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

Preview Lab → · Contrast checker → · Palette generator →

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