#AA97FC#AA97FC

#AA97FC is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.4% C 0.144 H 291.1°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#AA97FC
RGBrgb(170, 151, 252)
HSLhsl(251, 94%, 79%)
HSVhsv(251, 40%, 99%)
CMYKcmyk(32.5%, 40.1%, 0%, 1.2%)
CIE-LABlab(67.80, 29.08, -47.93)
CIE-LCHlch(67.80, 56.07, 301.24°)
OKLaboklab(73.39% 0.0518 -0.1344)
OKLCHoklch(73.39% 0.144 291.1)
XYZxyz(45.2103, 37.7066, 96.9727)
Luminance0.3771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97FC #E9FC97
analogous
#97B7FC #AA97FC #DD97FC
triadic
#AA97FC #FCAA97 #97FCAA
tetradic
#AA97FC #FC97B7 #E9FC97 #97FCDD
square
#AA97FC #FC97B7 #E9FC97 #97FCDD
split-complementary
#AA97FC #FCDD97 #B7FC97
monochromatic
#4920F9 #795CFA #AA97FC #DBD2FE #E7E1FE

Accessibility & contrast

On white

2.46
#AA97FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#AA97FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97FC
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97FC#FFFFFF#000000##000000
##AA97FC1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa97fc;
/* rgb */ color: rgb(170, 151, 252);
/* oklch */ color: oklch(73.4% 0.144 291.1);
Tailwind
colors: {
  custom: {
    50: '#c6b5fe',
    500: '#aa97fc',
    950: '#000000',
  },
}
SCSS
$custom: #aa97fc;
$custom-light: #c6b5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97fc",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 252
  },
  "hsl": {
    "h": 251.287,
    "s": 94.393,
    "l": 79.02
  },
  "oklch": {
    "l": 0.73392,
    "c": 0.144,
    "h": 291.1
  },
  "luminance": 0.37708
}

Semantic roles & 50–950 ramp

primary
#AA97FC
secondary
#F0F6D5
accent
#E600BA
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AA97FC

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

Preview Lab → · Contrast checker → · Palette generator →

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