#AA97CD#AA97CD

#AA97CD is a light, moderate violet. Relative luminance 0.351; OKLCH L 71.2% C 0.080 H 300.5°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#AA97CD
RGBrgb(170, 151, 205)
HSLhsl(261, 35%, 70%)
HSVhsv(261, 26%, 80%)
CMYKcmyk(17.1%, 26.3%, 0%, 19.6%)
CIE-LABlab(65.82, 17.81, -25.14)
CIE-LCHlch(65.82, 30.81, 305.32°)
OKLaboklab(71.22% 0.0406 -0.0689)
OKLCHoklch(71.22% 0.08 300.5)
XYZxyz(38.6613, 35.0870, 62.4814)
Luminance0.3509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97CD #BACD97
analogous
#979FCD #AA97CD #C597CD
triadic
#AA97CD #CDAA97 #97CDAA
tetradic
#AA97CD #CD979F #BACD97 #97CDC5
square
#AA97CD #CD979F #BACD97 #97CDC5
split-complementary
#AA97CD #CDC597 #9FCD97
monochromatic
#694C9E #886EB9 #AA97CD #CCC0E1 #EEEAF5

Accessibility & contrast

On white

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

On black

8.02
#AA97CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97CD
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97CD#FFFFFF#000000##000000
##AA97CD1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa97cd;
/* rgb */ color: rgb(170, 151, 205);
/* oklch */ color: oklch(71.2% 0.080 300.5);
Tailwind
colors: {
  custom: {
    50: '#c4b5dc',
    500: '#aa97cd',
    950: '#000000',
  },
}
SCSS
$custom: #aa97cd;
$custom-light: #c4b5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97cd",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 205
  },
  "hsl": {
    "h": 261.111,
    "s": 35.065,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71219,
    "c": 0.07997,
    "h": 300.5
  },
  "luminance": 0.35087
}

Semantic roles & 50–950 ramp

primary
#AA97CD
secondary
#E2E8D8
accent
#AE3884
background
#FCFBFD
surface
#F8F6FB
border
#D1D0D4
text
#121115
muted
#818083

Preview Lab

Preview with #AA97CD

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

Preview Lab → · Contrast checker → · Palette generator →

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