#A796BD#A796BD

#A796BD is a light, muted violet. Relative luminance 0.337; OKLCH L 70.1% C 0.059 H 304.7°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#A796BD
RGBrgb(167, 150, 189)
HSLhsl(266, 23%, 66%)
HSVhsv(266, 21%, 74%)
CMYKcmyk(11.6%, 20.6%, 0%, 25.9%)
CIE-LABlab(64.73, 13.90, -17.89)
CIE-LCHlch(64.73, 22.65, 307.84°)
OKLaboklab(70.12% 0.0337 -0.0486)
OKLCHoklch(70.12% 0.059 304.7)
XYZxyz(36.0263, 33.7024, 52.7415)
Luminance0.3370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A796BD #ACBD96
analogous
#9699BD #A796BD #BB96BD
triadic
#A796BD #BDA796 #96BDA7
tetradic
#A796BD #BD9699 #ACBD96 #96BDBB
square
#A796BD #BD9699 #ACBD96 #96BDBB
split-complementary
#A796BD #BDBB96 #99BD96
monochromatic
#695485 #8870A5 #A796BD #C6BCD5 #E6E1EC

Accessibility & contrast

On white

2.71
#A796BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#A796BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A796BD
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A796BD#FFFFFF#000000##000000
##A796BD1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F9CBF
Deuteranopia (green-blind)
#929DBC
Tritanopia (blue-blind)
#A49BA3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a796bd;
/* rgb */ color: rgb(167, 150, 189);
/* oklch */ color: oklch(70.1% 0.059 304.7);
Tailwind
colors: {
  custom: {
    50: '#c1b5d1',
    500: '#a796bd',
    950: '#000000',
  },
}
SCSS
$custom: #a796bd;
$custom-light: #c1b5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a796bd",
  "rgb": {
    "r": 167,
    "g": 150,
    "b": 189
  },
  "hsl": {
    "h": 266.154,
    "s": 22.807,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70123,
    "c": 0.05911,
    "h": 304.7
  },
  "luminance": 0.33702
}

Semantic roles & 50–950 ramp

primary
#A796BD
secondary
#D8DED1
accent
#A14479
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121114
muted
#818082

Preview Lab

Preview with #A796BD

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

Preview Lab → · Contrast checker → · Palette generator →

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