#AA97FF#AA97FF

#AA97FF is a light, vivid violet. Relative luminance 0.379; OKLCH L 73.5% C 0.148 H 290.7°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#AA97FF
RGBrgb(170, 151, 255)
HSLhsl(251, 100%, 80%)
HSVhsv(251, 41%, 100%)
CMYKcmyk(33.3%, 40.8%, 0%, 0%)
CIE-LABlab(67.95, 29.84, -49.35)
CIE-LCHlch(67.95, 57.67, 301.17°)
OKLaboklab(73.55% 0.0523 -0.1385)
OKLCHoklch(73.55% 0.148 290.7)
XYZxyz(45.6894, 37.8982, 99.4962)
Luminance0.3790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97FF #ECFF97
analogous
#97B8FF #AA97FF #DE97FF
triadic
#AA97FF #FFAA97 #97FFAA
tetradic
#AA97FF #FF97B8 #ECFF97 #97FFDE
square
#AA97FF #FF97B8 #ECFF97 #97FFDE
split-complementary
#AA97FF #FFDE97 #B8FF97
monochromatic
#461DFF #785AFF #AA97FF #DCD4FF #E6E0FF

Accessibility & contrast

On white

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

On black

8.58
#AA97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97FF
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97FF#FFFFFF#000000##000000
##AA97FF1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A7FF
Deuteranopia (green-blind)
#77A3FC
Tritanopia (blue-blind)
#95AABF
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #aa97ff;
/* rgb */ color: rgb(170, 151, 255);
/* oklch */ color: oklch(73.5% 0.148 290.7);
Tailwind
colors: {
  custom: {
    50: '#c6b5ff',
    500: '#aa97ff',
    950: '#000000',
  },
}
SCSS
$custom: #aa97ff;
$custom-light: #c6b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97ff",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 250.962,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.73546,
    "c": 0.14802,
    "h": 290.7
  },
  "luminance": 0.37899
}

Semantic roles & 50–950 ramp

primary
#AA97FF
secondary
#F1F7D4
accent
#E600BC
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AA97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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