#AA97FE#AA97FE

#AA97FE is a light, vivid violet. Relative luminance 0.378; OKLCH L 73.5% C 0.147 H 290.8°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#AA97FE
RGBrgb(170, 151, 254)
HSLhsl(251, 98%, 79%)
HSVhsv(251, 41%, 100%)
CMYKcmyk(33.1%, 40.6%, 0%, 0.4%)
CIE-LABlab(67.90, 29.59, -48.88)
CIE-LCHlch(67.90, 57.13, 301.19°)
OKLaboklab(73.5% 0.0521 -0.1371)
OKLCHoklch(73.5% 0.147 290.8)
XYZxyz(45.5289, 37.8340, 98.6506)
Luminance0.3784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97FE #EBFE97
analogous
#97B8FE #AA97FE #DE97FE
triadic
#AA97FE #FEAA97 #97FEAA
tetradic
#AA97FE #FE97B8 #EBFE97 #97FEDE
square
#AA97FE #FE97B8 #EBFE97 #97FEDE
split-complementary
#AA97FE #FEDE97 #B8FE97
monochromatic
#471EFD #785AFD #AA97FE #DCD4FF #E6E1FF

Accessibility & contrast

On white

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

On black

8.57
#AA97FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97FE
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97FE#FFFFFF#000000##000000
##AA97FE1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa97fe;
/* rgb */ color: rgb(170, 151, 254);
/* oklch */ color: oklch(73.5% 0.147 290.8);
Tailwind
colors: {
  custom: {
    50: '#c6b5ff',
    500: '#aa97fe',
    950: '#000000',
  },
}
SCSS
$custom: #aa97fe;
$custom-light: #c6b5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97fe",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 251.068,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.73495,
    "c": 0.14669,
    "h": 290.8
  },
  "luminance": 0.37835
}

Semantic roles & 50–950 ramp

primary
#AA97FE
secondary
#F1F7D4
accent
#E600BB
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AA97FE

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

Preview Lab → · Contrast checker → · Palette generator →

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