#AA97C2#AA97C2

#AA97C2 is a light, moderate violet. Relative luminance 0.346; OKLCH L 70.8% C 0.065 H 304.9°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#AA97C2
RGBrgb(170, 151, 194)
HSLhsl(267, 26%, 68%)
HSVhsv(267, 22%, 76%)
CMYKcmyk(12.4%, 22.2%, 0%, 23.9%)
CIE-LABlab(65.42, 15.40, -19.61)
CIE-LCHlch(65.42, 24.93, 308.13°)
OKLaboklab(70.78% 0.0372 -0.0534)
OKLCHoklch(70.78% 0.065 304.9)
XYZxyz(37.3799, 34.5744, 55.7328)
Luminance0.3457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97C2 #AFC297
analogous
#9799C2 #AA97C2 #C097C2
triadic
#AA97C2 #C2AA97 #97C2AA
tetradic
#AA97C2 #C29799 #AFC297 #97C2C0
square
#AA97C2 #C29799 #AFC297 #97C2C0
split-complementary
#AA97C2 #C2C097 #99C297
monochromatic
#6C528C #8A70AB #AA97C2 #CABED9 #E9E4EF

Accessibility & contrast

On white

2.65
#AA97C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#AA97C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97C2
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97C2#FFFFFF#000000##000000
##AA97C21.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F9EC4
Deuteranopia (green-blind)
#939FC1
Tritanopia (blue-blind)
#A79DA6
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #aa97c2;
/* rgb */ color: rgb(170, 151, 194);
/* oklch */ color: oklch(70.8% 0.065 304.9);
Tailwind
colors: {
  custom: {
    50: '#c3b5d4',
    500: '#aa97c2',
    950: '#000000',
  },
}
SCSS
$custom: #aa97c2;
$custom-light: #c3b5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97c2",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 194
  },
  "hsl": {
    "h": 266.512,
    "s": 26.061,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70777,
    "c": 0.06505,
    "h": 304.9
  },
  "luminance": 0.34574
}

Semantic roles & 50–950 ramp

primary
#AA97C2
secondary
#DBE1D4
accent
#A54179
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#121114
muted
#818083

Preview Lab

Preview with #AA97C2

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

Preview Lab → · Contrast checker → · Palette generator →

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