#AA97C8#AA97C8

#AA97C8 is a light, moderate violet. Relative luminance 0.348; OKLCH L 71.0% C 0.073 H 302.3°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#AA97C8
RGBrgb(170, 151, 200)
HSLhsl(263, 31%, 69%)
HSVhsv(263, 25%, 78%)
CMYKcmyk(15%, 24.5%, 0%, 21.6%)
CIE-LABlab(65.63, 16.70, -22.63)
CIE-LCHlch(65.63, 28.13, 306.42°)
OKLaboklab(71.02% 0.0391 -0.0618)
OKLCHoklch(71.02% 0.073 302.3)
XYZxyz(38.0674, 34.8494, 59.3535)
Luminance0.3485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97C8 #B5C897
analogous
#979DC8 #AA97C8 #C397C8
triadic
#AA97C8 #C8AA97 #97C8AA
tetradic
#AA97C8 #C8979D #B5C897 #97C8C3
square
#AA97C8 #C8979D #B5C897 #97C8C3
split-complementary
#AA97C8 #C8C397 #9DC897
monochromatic
#6A4F96 #896FB3 #AA97C8 #CBBFDD #EBE7F2

Accessibility & contrast

On white

2.63
#AA97C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#AA97C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97C8
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97C8#FFFFFF#000000##000000
##AA97C81.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E9FCA
Deuteranopia (green-blind)
#919FC7
Tritanopia (blue-blind)
#A59EA8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aa97c8;
/* rgb */ color: rgb(170, 151, 200);
/* oklch */ color: oklch(71.0% 0.073 302.3);
Tailwind
colors: {
  custom: {
    50: '#c3b5d8',
    500: '#aa97c8',
    950: '#000000',
  },
}
SCSS
$custom: #aa97c8;
$custom-light: #c3b5d8;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97c8",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 200
  },
  "hsl": {
    "h": 263.265,
    "s": 30.818,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71015,
    "c": 0.07316,
    "h": 302.3
  },
  "luminance": 0.34849
}

Semantic roles & 50–950 ramp

primary
#AA97C8
secondary
#DFE5D6
accent
#AA3C7F
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#121114
muted
#818083

Preview Lab

Preview with #AA97C8

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

Preview Lab → · Contrast checker → · Palette generator →

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