#AA97BB#AA97BB

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

Color values

HEX#AA97BB
RGBrgb(170, 151, 187)
HSLhsl(272, 21%, 66%)
HSVhsv(272, 19%, 73%)
CMYKcmyk(9.1%, 19.3%, 0%, 26.7%)
CIE-LABlab(65.17, 13.91, -16.06)
CIE-LCHlch(65.17, 21.25, 310.90°)
OKLaboklab(70.51% 0.0349 -0.0435)
OKLCHoklch(70.51% 0.056 308.8)
XYZxyz(36.6122, 34.2673, 51.6895)
Luminance0.3427 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97BB #A8BB97
analogous
#9897BB #AA97BB #BB97BA
triadic
#AA97BB #BBAA97 #97BBAA
tetradic
#AA97BB #BB9897 #A8BB97 #97BABB
square
#AA97BB #BB9897 #A8BB97 #97BABB
split-complementary
#AA97BB #BABB97 #97BB98
monochromatic
#6D5582 #8C72A3 #AA97BB #C8BCD3 #E6E1EB

Accessibility & contrast

On white

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

On black

7.85
#AA97BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97BB
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97BB#FFFFFF#000000##000000
##AA97BB1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#919DBD
Deuteranopia (green-blind)
#959EBA
Tritanopia (blue-blind)
#A89BA3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #aa97bb;
/* rgb */ color: rgb(170, 151, 187);
/* oklch */ color: oklch(70.5% 0.056 308.8);
Tailwind
colors: {
  custom: {
    50: '#c3b5cf',
    500: '#aa97bb',
    950: '#000000',
  },
}
SCSS
$custom: #aa97bb;
$custom-light: #c3b5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97bb",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 187
  },
  "hsl": {
    "h": 271.667,
    "s": 20.93,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70511,
    "c": 0.05575,
    "h": 308.8
  },
  "luminance": 0.34267
}

Semantic roles & 50–950 ramp

primary
#AA97BB
secondary
#D7DDD1
accent
#9F4670
background
#FCFBFC
surface
#F8F6F9
border
#D1D0D2
text
#121113
muted
#818082

Preview Lab

Preview with #AA97BB

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

Preview Lab → · Contrast checker → · Palette generator →

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