#A797CA#A797CA

#A797CA is a light, moderate violet. Relative luminance 0.346; OKLCH L 70.8% C 0.075 H 298.9°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#A797CA
RGBrgb(167, 151, 202)
HSLhsl(259, 32%, 69%)
HSVhsv(259, 25%, 79%)
CMYKcmyk(17.3%, 25.2%, 0%, 20.8%)
CIE-LABlab(65.45, 16.18, -24.05)
CIE-LCHlch(65.45, 28.99, 303.93°)
OKLaboklab(70.83% 0.0363 -0.0659)
OKLCHoklch(70.83% 0.075 298.9)
XYZxyz(37.6614, 34.6128, 60.5625)
Luminance0.3461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A797CA #BACA97
analogous
#97A1CA #A797CA #C197CA
triadic
#A797CA #CAA797 #97CAA7
tetradic
#A797CA #CA97A1 #BACA97 #97CAC1
square
#A797CA #CA97A1 #BACA97 #97CAC1
split-complementary
#A797CA #CAC197 #A1CA97
monochromatic
#654E99 #856EB5 #A797CA #C9C0DF #ECE8F3

Accessibility & contrast

On white

2.65
#A797CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#A797CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A797CA
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A797CA#FFFFFF#000000##000000
##A797CA1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C9FCC
Deuteranopia (green-blind)
#8F9FC9
Tritanopia (blue-blind)
#A19FA9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #a797ca;
/* rgb */ color: rgb(167, 151, 202);
/* oklch */ color: oklch(70.8% 0.075 298.9);
Tailwind
colors: {
  custom: {
    50: '#c1b5da',
    500: '#a797ca',
    950: '#000000',
  },
}
SCSS
$custom: #a797ca;
$custom-light: #c1b5da;
$custom-dark: #000000;
JSON
{
  "hex": "#a797ca",
  "rgb": {
    "r": 167,
    "g": 151,
    "b": 202
  },
  "hsl": {
    "h": 258.824,
    "s": 32.484,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70834,
    "c": 0.07523,
    "h": 298.9
  },
  "luminance": 0.34613
}

Semantic roles & 50–950 ramp

primary
#A797CA
secondary
#E1E6D7
accent
#AB3A88
background
#FBFBFD
surface
#F7F6FA
border
#D0D0D3
text
#121114
muted
#818083

Preview Lab

Preview with #A797CA

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

Preview Lab → · Contrast checker → · Palette generator →

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