#AA97DC#AA97DC

#AA97DC is a light, moderate violet. Relative luminance 0.358; OKLCH L 71.9% C 0.101 H 296.4°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#AA97DC
RGBrgb(170, 151, 220)
HSLhsl(257, 50%, 73%)
HSVhsv(257, 31%, 86%)
CMYKcmyk(22.7%, 31.4%, 0%, 13.7%)
CIE-LABlab(66.40, 21.25, -32.55)
CIE-LCHlch(66.40, 38.88, 303.14°)
OKLaboklab(71.86% 0.0447 -0.09)
OKLCHoklch(71.86% 0.101 296.4)
XYZxyz(40.5595, 35.8462, 72.4784)
Luminance0.3585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97DC #C9DC97
analogous
#97A6DC #AA97DC #CD97DC
triadic
#AA97DC #DCAA97 #97DCAA
tetradic
#AA97DC #DC97A6 #C9DC97 #97DCCD
square
#AA97DC #DC97A6 #C9DC97 #97DCCD
split-complementary
#AA97DC #DCCD97 #A6DC97
monochromatic
#613FBA #8569CD #AA97DC #CFC5EB #ECE8F7

Accessibility & contrast

On white

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

On black

8.17
#AA97DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97DC
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97DC#FFFFFF#000000##000000
##AA97DC1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A2DF
Deuteranopia (green-blind)
#89A1DA
Tritanopia (blue-blind)
#A0A2B0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #aa97dc;
/* rgb */ color: rgb(170, 151, 220);
/* oklch */ color: oklch(71.9% 0.101 296.4);
Tailwind
colors: {
  custom: {
    50: '#c4b5e7',
    500: '#aa97dc',
    950: '#000000',
  },
}
SCSS
$custom: #aa97dc;
$custom-light: #c4b5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97dc",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 220
  },
  "hsl": {
    "h": 256.522,
    "s": 49.64,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71862,
    "c": 0.10051,
    "h": 296.4
  },
  "luminance": 0.35847
}

Semantic roles & 50–950 ramp

primary
#AA97DC
secondary
#E9EEDD
accent
#BD2994
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AA97DC

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

Preview Lab → · Contrast checker → · Palette generator →

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