#AA97CC#AA97CC

#AA97CC is a light, moderate violet. Relative luminance 0.350; OKLCH L 71.2% C 0.079 H 300.8°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#AA97CC
RGBrgb(170, 151, 204)
HSLhsl(262, 34%, 70%)
HSVhsv(262, 26%, 80%)
CMYKcmyk(16.7%, 26%, 0%, 20%)
CIE-LABlab(65.78, 17.59, -24.64)
CIE-LCHlch(65.78, 30.27, 305.52°)
OKLaboklab(71.18% 0.0403 -0.0675)
OKLCHoklch(71.18% 0.079 300.8)
XYZxyz(38.5410, 35.0388, 61.8478)
Luminance0.3504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97CC #B9CC97
analogous
#979FCC #AA97CC #C597CC
triadic
#AA97CC #CCAA97 #97CCAA
tetradic
#AA97CC #CC979F #B9CC97 #97CCC5
square
#AA97CC #CC979F #B9CC97 #97CCC5
split-complementary
#AA97CC #CCC597 #9FCC97
monochromatic
#694D9C #886EB8 #AA97CC #CCC0E0 #EDE9F4

Accessibility & contrast

On white

2.62
#AA97CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#AA97CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97CC
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97CC#FFFFFF#000000##000000
##AA97CC1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CA0CE
Deuteranopia (green-blind)
#8FA0CA
Tritanopia (blue-blind)
#A49FAA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aa97cc;
/* rgb */ color: rgb(170, 151, 204);
/* oklch */ color: oklch(71.2% 0.079 300.8);
Tailwind
colors: {
  custom: {
    50: '#c4b5db',
    500: '#aa97cc',
    950: '#000000',
  },
}
SCSS
$custom: #aa97cc;
$custom-light: #c4b5db;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97cc",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 204
  },
  "hsl": {
    "h": 261.509,
    "s": 34.194,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71177,
    "c": 0.07861,
    "h": 300.8
  },
  "luminance": 0.35039
}

Semantic roles & 50–950 ramp

primary
#AA97CC
secondary
#E2E7D8
accent
#AD3883
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #AA97CC

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

Preview Lab → · Contrast checker → · Palette generator →

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