#AA97CA#AA97CA

#AA97CA is a light, moderate violet. Relative luminance 0.349; OKLCH L 71.1% C 0.076 H 301.5°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#AA97CA
RGBrgb(170, 151, 202)
HSLhsl(262, 32%, 69%)
HSVhsv(262, 25%, 79%)
CMYKcmyk(15.8%, 25.2%, 0%, 20.8%)
CIE-LABlab(65.70, 17.14, -23.64)
CIE-LCHlch(65.70, 29.20, 305.95°)
OKLaboklab(71.1% 0.0397 -0.0647)
OKLCHoklch(71.1% 0.076 301.5)
XYZxyz(38.3027, 34.9435, 60.5926)
Luminance0.3494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97CA #B7CA97
analogous
#979ECA #AA97CA #C497CA
triadic
#AA97CA #CAAA97 #97CAAA
tetradic
#AA97CA #CA979E #B7CA97 #97CAC4
square
#AA97CA #CA979E #B7CA97 #97CAC4
split-complementary
#AA97CA #CAC497 #9ECA97
monochromatic
#6A4E99 #896EB5 #AA97CA #CBC0DF #ECE8F3

Accessibility & contrast

On white

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

On black

7.99
#AA97CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97CA
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97CA#FFFFFF#000000##000000
##AA97CA1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D9FCC
Deuteranopia (green-blind)
#909FC8
Tritanopia (blue-blind)
#A59EA9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #aa97ca;
/* rgb */ color: rgb(170, 151, 202);
/* oklch */ color: oklch(71.1% 0.076 301.5);
Tailwind
colors: {
  custom: {
    50: '#c3b5da',
    500: '#aa97ca',
    950: '#000000',
  },
}
SCSS
$custom: #aa97ca;
$custom-light: #c3b5da;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97ca",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 202
  },
  "hsl": {
    "h": 262.353,
    "s": 32.484,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71096,
    "c": 0.07587,
    "h": 301.5
  },
  "luminance": 0.34944
}

Semantic roles & 50–950 ramp

primary
#AA97CA
secondary
#E0E6D7
accent
#AB3A81
background
#FCFBFD
surface
#F8F6FA
border
#D1D0D3
text
#121114
muted
#818083

Preview Lab

Preview with #AA97CA

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

Preview Lab → · Contrast checker → · Palette generator →

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