#A797BE#A797BE

#A797BE is a light, muted violet. Relative luminance 0.341; OKLCH L 70.4% C 0.059 H 303.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#A797BE
RGBrgb(167, 151, 190)
HSLhsl(265, 23%, 67%)
HSVhsv(265, 21%, 75%)
CMYKcmyk(12.1%, 20.5%, 0%, 25.5%)
CIE-LABlab(65.02, 13.55, -18.01)
CIE-LCHlch(65.02, 22.53, 306.95°)
OKLaboklab(70.36% 0.0325 -0.0489)
OKLCHoklch(70.36% 0.059 303.6)
XYZxyz(36.2954, 34.0665, 53.3686)
Luminance0.3407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A797BE #AEBE97
analogous
#979BBE #A797BE #BB97BE
triadic
#A797BE #BEA797 #97BEA7
tetradic
#A797BE #BE979B #AEBE97 #97BEBB
square
#A797BE #BE979B #AEBE97 #97BEBB
split-complementary
#A797BE #BEBB97 #9BBE97
monochromatic
#695487 #8771A6 #A797BE #C7BDD6 #E7E2ED

Accessibility & contrast

On white

2.69
#A797BE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#A797BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A797BE
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A797BE#FFFFFF#000000##000000
##A797BE1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#909DC0
Deuteranopia (green-blind)
#939EBD
Tritanopia (blue-blind)
#A49CA4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a797be;
/* rgb */ color: rgb(167, 151, 190);
/* oklch */ color: oklch(70.4% 0.059 303.6);
Tailwind
colors: {
  custom: {
    50: '#c1b5d1',
    500: '#a797be',
    950: '#000000',
  },
}
SCSS
$custom: #a797be;
$custom-light: #c1b5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a797be",
  "rgb": {
    "r": 167,
    "g": 151,
    "b": 190
  },
  "hsl": {
    "h": 264.615,
    "s": 23.077,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70359,
    "c": 0.05873,
    "h": 303.6
  },
  "luminance": 0.34066
}

Semantic roles & 50–950 ramp

primary
#A797BE
secondary
#DADFD2
accent
#A2447B
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121114
muted
#818082

Preview Lab

Preview with #A797BE

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

Preview Lab → · Contrast checker → · Palette generator →

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