#A797BC#A797BC

#A797BC is a light, muted violet. Relative luminance 0.340; OKLCH L 70.3% C 0.056 H 304.6°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#A797BC
RGBrgb(167, 151, 188)
HSLhsl(266, 22%, 66%)
HSVhsv(266, 20%, 74%)
CMYKcmyk(11.2%, 19.7%, 0%, 26.3%)
CIE-LABlab(64.95, 13.12, -16.99)
CIE-LCHlch(64.95, 21.47, 307.67°)
OKLaboklab(70.28% 0.0318 -0.0461)
OKLCHoklch(70.28% 0.056 304.6)
XYZxyz(36.0784, 33.9796, 52.2252)
Luminance0.3398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A797BC #ACBC97
analogous
#979ABC #A797BC #BA97BC
triadic
#A797BC #BCA797 #97BCA7
tetradic
#A797BC #BC979A #ACBC97 #97BCBA
square
#A797BC #BC979A #ACBC97 #97BCBA
split-complementary
#A797BC #BCBA97 #9ABC97
monochromatic
#695584 #8872A4 #A797BC #C6BCD4 #E6E1EC

Accessibility & contrast

On white

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

On black

7.80
#A797BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A797BC
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A797BC#FFFFFF#000000##000000
##A797BC1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#919DBE
Deuteranopia (green-blind)
#939EBB
Tritanopia (blue-blind)
#A49CA3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a797bc;
/* rgb */ color: rgb(167, 151, 188);
/* oklch */ color: oklch(70.3% 0.056 304.6);
Tailwind
colors: {
  custom: {
    50: '#c1b5d0',
    500: '#a797bc',
    950: '#000000',
  },
}
SCSS
$custom: #a797bc;
$custom-light: #c1b5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a797bc",
  "rgb": {
    "r": 167,
    "g": 151,
    "b": 188
  },
  "hsl": {
    "h": 265.946,
    "s": 21.637,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70282,
    "c": 0.05602,
    "h": 304.6
  },
  "luminance": 0.3398
}

Semantic roles & 50–950 ramp

primary
#A797BC
secondary
#D8DDD1
accent
#A04579
background
#FBFBFC
surface
#F7F6F9
border
#D0D0D2
text
#121114
muted
#818082

Preview Lab

Preview with #A797BC

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

Preview Lab → · Contrast checker → · Palette generator →

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