#AA97DD#AA97DD

#AA97DD is a light, moderate violet. Relative luminance 0.359; OKLCH L 71.9% C 0.102 H 296.2°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#AA97DD
RGBrgb(170, 151, 221)
HSLhsl(256, 51%, 73%)
HSVhsv(256, 32%, 87%)
CMYKcmyk(23.1%, 31.7%, 0%, 13.3%)
CIE-LABlab(66.44, 21.49, -33.04)
CIE-LCHlch(66.44, 39.42, 303.03°)
OKLaboklab(71.91% 0.045 -0.0914)
OKLCHoklch(71.91% 0.102 296.2)
XYZxyz(40.6923, 35.8994, 73.1780)
Luminance0.3590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97DD #CADD97
analogous
#97A7DD #AA97DD #CD97DD
triadic
#AA97DD #DDAA97 #97DDAA
tetradic
#AA97DD #DD97A7 #CADD97 #97DDCD
square
#AA97DD #DD97A7 #CADD97 #97DDCD
split-complementary
#AA97DD #DDCD97 #A7DD97
monochromatic
#603DBC #8469CE #AA97DD #D0C5EC #ECE8F7

Accessibility & contrast

On white

2.57
#AA97DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#AA97DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97DD
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97DD#FFFFFF#000000##000000
##AA97DD1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A2E0
Deuteranopia (green-blind)
#89A1DB
Tritanopia (blue-blind)
#A0A2B0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aa97dd;
/* rgb */ color: rgb(170, 151, 221);
/* oklch */ color: oklch(71.9% 0.102 296.2);
Tailwind
colors: {
  custom: {
    50: '#c4b5e7',
    500: '#aa97dd',
    950: '#000000',
  },
}
SCSS
$custom: #aa97dd;
$custom-light: #c4b5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97dd",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 221
  },
  "hsl": {
    "h": 256.286,
    "s": 50.725,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71907,
    "c": 0.10188,
    "h": 296.2
  },
  "luminance": 0.359
}

Semantic roles & 50–950 ramp

primary
#AA97DD
secondary
#EAEFDC
accent
#BE2795
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AA97DD

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

Preview Lab → · Contrast checker → · Palette generator →

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