#AA97FD#AA97FD

#AA97FD is a light, vivid violet. Relative luminance 0.378; OKLCH L 73.4% C 0.145 H 290.9°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#AA97FD
RGBrgb(170, 151, 253)
HSLhsl(251, 96%, 79%)
HSVhsv(251, 40%, 99%)
CMYKcmyk(32.8%, 40.3%, 0%, 0.8%)
CIE-LABlab(67.85, 29.33, -48.41)
CIE-LCHlch(67.85, 56.60, 301.22°)
OKLaboklab(73.44% 0.0519 -0.1357)
OKLCHoklch(73.44% 0.145 290.9)
XYZxyz(45.3692, 37.7701, 97.8095)
Luminance0.3777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97FD #EAFD97
analogous
#97B7FD #AA97FD #DD97FD
triadic
#AA97FD #FDAA97 #97FDAA
tetradic
#AA97FD #FD97B7 #EAFD97 #97FDDD
square
#AA97FD #FD97B7 #EAFD97 #97FDDD
split-complementary
#AA97FD #FDDD97 #B7FD97
monochromatic
#481FFB #795BFC #AA97FD #DBD3FE #E6E1FE

Accessibility & contrast

On white

2.45
#AA97FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#AA97FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97FD
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97FD#FFFFFF#000000##000000
##AA97FD1.002.458.558.55
#FFFFFF2.451.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#79A3FA
Tritanopia (blue-blind)
#96AABE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aa97fd;
/* rgb */ color: rgb(170, 151, 253);
/* oklch */ color: oklch(73.4% 0.145 290.9);
Tailwind
colors: {
  custom: {
    50: '#c6b5fe',
    500: '#aa97fd',
    950: '#000000',
  },
}
SCSS
$custom: #aa97fd;
$custom-light: #c6b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97fd",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 251.176,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.73443,
    "c": 0.14534,
    "h": 290.9
  },
  "luminance": 0.37771
}

Semantic roles & 50–950 ramp

primary
#AA97FD
secondary
#F0F7D4
accent
#E600BB
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AA97FD

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

Preview Lab → · Contrast checker → · Palette generator →

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