#A797BF#A797BF

#A797BF is a light, moderate violet. Relative luminance 0.341; OKLCH L 70.4% C 0.060 H 303.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#A797BF
RGBrgb(167, 151, 191)
HSLhsl(264, 24%, 67%)
HSVhsv(264, 21%, 75%)
CMYKcmyk(12.6%, 20.9%, 0%, 25.1%)
CIE-LABlab(65.05, 13.76, -18.52)
CIE-LCHlch(65.05, 23.07, 306.62°)
OKLaboklab(70.4% 0.0328 -0.0503)
OKLCHoklch(70.4% 0.06 303.1)
XYZxyz(36.4051, 34.1103, 53.9462)
Luminance0.3411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A797BF #AFBF97
analogous
#979BBF #A797BF #BB97BF
triadic
#A797BF #BFA797 #97BFA7
tetradic
#A797BF #BF979B #AFBF97 #97BFBB
square
#A797BF #BF979B #AFBF97 #97BFBB
split-complementary
#A797BF #BFBB97 #9BBF97
monochromatic
#695488 #8771A8 #A797BF #C7BDD6 #E7E3EE

Accessibility & contrast

On white

2.68
#A797BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#A797BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A797BF
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A797BF#FFFFFF#000000##000000
##A797BF1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#909DC1
Deuteranopia (green-blind)
#929EBE
Tritanopia (blue-blind)
#A39CA5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a797bf;
/* rgb */ color: rgb(167, 151, 191);
/* oklch */ color: oklch(70.4% 0.060 303.1);
Tailwind
colors: {
  custom: {
    50: '#c1b5d2',
    500: '#a797bf',
    950: '#000000',
  },
}
SCSS
$custom: #a797bf;
$custom-light: #c1b5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a797bf",
  "rgb": {
    "r": 167,
    "g": 151,
    "b": 191
  },
  "hsl": {
    "h": 264,
    "s": 23.81,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70397,
    "c": 0.06009,
    "h": 303.1
  },
  "luminance": 0.3411
}

Semantic roles & 50–950 ramp

primary
#A797BF
secondary
#DADFD3
accent
#A2437C
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121114
muted
#818082

Preview Lab

Preview with #A797BF

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

Preview Lab → · Contrast checker → · Palette generator →

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