#AA97FB#AA97FB

#AA97FB is a light, vivid violet. Relative luminance 0.376; OKLCH L 73.3% C 0.143 H 291.2°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#AA97FB
RGBrgb(170, 151, 251)
HSLhsl(251, 93%, 79%)
HSVhsv(251, 40%, 98%)
CMYKcmyk(32.3%, 39.8%, 0%, 1.6%)
CIE-LABlab(67.76, 28.83, -47.46)
CIE-LCHlch(67.76, 55.53, 301.27°)
OKLaboklab(73.34% 0.0516 -0.133)
OKLCHoklch(73.34% 0.143 291.2)
XYZxyz(45.0523, 37.6433, 96.1403)
Luminance0.3764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97FB #E8FB97
analogous
#97B6FB #AA97FB #DC97FB
triadic
#AA97FB #FBAA97 #97FBAA
tetradic
#AA97FB #FB97B6 #E8FB97 #97FBDC
square
#AA97FB #FB97B6 #E8FB97 #97FBDC
split-complementary
#AA97FB #FBDC97 #B6FB97
monochromatic
#4A21F6 #7A5CF9 #AA97FB #DAD2FD #E7E2FE

Accessibility & contrast

On white

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

On black

8.53
#AA97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97FB
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97FB#FFFFFF#000000##000000
##AA97FB1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A7FF
Deuteranopia (green-blind)
#7AA3F9
Tritanopia (blue-blind)
#97A9BD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aa97fb;
/* rgb */ color: rgb(170, 151, 251);
/* oklch */ color: oklch(73.3% 0.143 291.2);
Tailwind
colors: {
  custom: {
    50: '#c6b5fd',
    500: '#aa97fb',
    950: '#000000',
  },
}
SCSS
$custom: #aa97fb;
$custom-light: #c6b5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97fb",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 251.4,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.73341,
    "c": 0.14266,
    "h": 291.2
  },
  "luminance": 0.37644
}

Semantic roles & 50–950 ramp

primary
#AA97FB
secondary
#F0F6D5
accent
#E600BA
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AA97FB

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

Preview Lab → · Contrast checker → · Palette generator →

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