#A796BF#A796BF

#A796BF is a light, moderate violet. Relative luminance 0.338; OKLCH L 70.2% C 0.062 H 303.7°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#A796BF
RGBrgb(167, 150, 191)
HSLhsl(265, 24%, 67%)
HSVhsv(265, 21%, 75%)
CMYKcmyk(12.6%, 21.5%, 0%, 25.1%)
CIE-LABlab(64.80, 14.33, -18.90)
CIE-LCHlch(64.80, 23.72, 307.16°)
OKLaboklab(70.2% 0.0343 -0.0514)
OKLCHoklch(70.2% 0.062 303.7)
XYZxyz(36.2449, 33.7898, 53.8927)
Luminance0.3379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A796BF #AEBF96
analogous
#969ABF #A796BF #BC96BF
triadic
#A796BF #BFA796 #96BFA7
tetradic
#A796BF #BF969A #AEBF96 #96BFBC
square
#A796BF #BF969A #AEBF96 #96BFBC
split-complementary
#A796BF #BFBC96 #9ABF96
monochromatic
#695388 #8770A8 #A796BF #C7BCD6 #E7E2ED

Accessibility & contrast

On white

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

On black

7.76
#A796BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A796BF
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A796BF#FFFFFF#000000##000000
##A796BF1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F9DC1
Deuteranopia (green-blind)
#929DBE
Tritanopia (blue-blind)
#A39CA4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a796bf;
/* rgb */ color: rgb(167, 150, 191);
/* oklch */ color: oklch(70.2% 0.062 303.7);
Tailwind
colors: {
  custom: {
    50: '#c1b5d2',
    500: '#a796bf',
    950: '#000000',
  },
}
SCSS
$custom: #a796bf;
$custom-light: #c1b5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a796bf",
  "rgb": {
    "r": 167,
    "g": 150,
    "b": 191
  },
  "hsl": {
    "h": 264.878,
    "s": 24.26,
    "l": 66.863
  },
  "oklch": {
    "l": 0.702,
    "c": 0.06182,
    "h": 303.7
  },
  "luminance": 0.3379
}

Semantic roles & 50–950 ramp

primary
#A796BF
secondary
#DADFD2
accent
#A3437B
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121114
muted
#818082

Preview Lab

Preview with #A796BF

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

Preview Lab → · Contrast checker → · Palette generator →

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