#AA97BC#AA97BC

#AA97BC is a light, muted violet. Relative luminance 0.343; OKLCH L 70.5% C 0.057 H 308.1°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#AA97BC
RGBrgb(170, 151, 188)
HSLhsl(271, 22%, 66%)
HSVhsv(271, 20%, 74%)
CMYKcmyk(9.6%, 19.7%, 0%, 26.3%)
CIE-LABlab(65.21, 14.12, -16.57)
CIE-LCHlch(65.21, 21.77, 310.44°)
OKLaboklab(70.55% 0.0352 -0.0449)
OKLCHoklch(70.55% 0.057 308.1)
XYZxyz(36.7197, 34.3103, 52.2553)
Luminance0.3431 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97BC #A9BC97
analogous
#9897BC #AA97BC #BC97BC
triadic
#AA97BC #BCAA97 #97BCAA
tetradic
#AA97BC #BC9897 #A9BC97 #97BCBC
square
#AA97BC #BC9897 #A9BC97 #97BCBC
split-complementary
#AA97BC #BCBC97 #97BC98
monochromatic
#6D5584 #8C72A4 #AA97BC #C8BCD4 #E7E1EC

Accessibility & contrast

On white

2.67
#AA97BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#AA97BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97BC
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97BC#FFFFFF#000000##000000
##AA97BC1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#919DBE
Deuteranopia (green-blind)
#959FBB
Tritanopia (blue-blind)
#A89CA3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aa97bc;
/* rgb */ color: rgb(170, 151, 188);
/* oklch */ color: oklch(70.5% 0.057 308.1);
Tailwind
colors: {
  custom: {
    50: '#c3b5d0',
    500: '#aa97bc',
    950: '#000000',
  },
}
SCSS
$custom: #aa97bc;
$custom-light: #c3b5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97bc",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 188
  },
  "hsl": {
    "h": 270.811,
    "s": 21.637,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70548,
    "c": 0.05708,
    "h": 308.1
  },
  "luminance": 0.3431
}

Semantic roles & 50–950 ramp

primary
#AA97BC
secondary
#D7DDD1
accent
#A04572
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#121114
muted
#818082

Preview Lab

Preview with #AA97BC

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

Preview Lab → · Contrast checker → · Palette generator →

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