#A796BC#A796BC

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

Color values

HEX#A796BC
RGBrgb(167, 150, 188)
HSLhsl(267, 22%, 66%)
HSVhsv(267, 20%, 74%)
CMYKcmyk(11.2%, 20.2%, 0%, 26.3%)
CIE-LABlab(64.69, 13.68, -17.38)
CIE-LCHlch(64.69, 22.12, 308.21°)
OKLaboklab(70.08% 0.0333 -0.0472)
OKLCHoklch(70.08% 0.058 305.3)
XYZxyz(35.9181, 33.6591, 52.1718)
Luminance0.3366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A796BC #ABBC96
analogous
#9698BC #A796BC #BA96BC
triadic
#A796BC #BCA796 #96BCA7
tetradic
#A796BC #BC9698 #ABBC96 #96BCBA
square
#A796BC #BC9698 #ABBC96 #96BCBA
split-complementary
#A796BC #BCBA96 #98BC96
monochromatic
#695484 #8871A4 #A796BC #C6BBD4 #E6E1EC

Accessibility & contrast

On white

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

On black

7.73
#A796BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A796BC
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A796BC#FFFFFF#000000##000000
##A796BC1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#909CBE
Deuteranopia (green-blind)
#939DBB
Tritanopia (blue-blind)
#A49BA3
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a796bc;
/* rgb */ color: rgb(167, 150, 188);
/* oklch */ color: oklch(70.1% 0.058 305.3);
Tailwind
colors: {
  custom: {
    50: '#c1b5d0',
    500: '#a796bc',
    950: '#000000',
  },
}
SCSS
$custom: #a796bc;
$custom-light: #c1b5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a796bc",
  "rgb": {
    "r": 167,
    "g": 150,
    "b": 188
  },
  "hsl": {
    "h": 266.842,
    "s": 22.093,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70085,
    "c": 0.05775,
    "h": 305.3
  },
  "luminance": 0.33659
}

Semantic roles & 50–950 ramp

primary
#A796BC
secondary
#D8DDD1
accent
#A14578
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121114
muted
#818082

Preview Lab

Preview with #A796BC

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

Preview Lab → · Contrast checker → · Palette generator →

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