#AA97FA#AA97FA

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

Color values

HEX#AA97FA
RGBrgb(170, 151, 250)
HSLhsl(252, 91%, 79%)
HSVhsv(252, 40%, 98%)
CMYKcmyk(32%, 39.6%, 0%, 2%)
CIE-LABlab(67.71, 28.57, -46.99)
CIE-LCHlch(67.71, 55.00, 301.30°)
OKLaboklab(73.29% 0.0514 -0.1316)
OKLCHoklch(73.29% 0.141 291.3)
XYZxyz(44.8950, 37.5805, 95.3123)
Luminance0.3758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97FA #E7FA97
analogous
#97B5FA #AA97FA #DB97FA
triadic
#AA97FA #FAAA97 #97FAAA
tetradic
#AA97FA #FA97B5 #E7FA97 #97FADB
square
#AA97FA #FA97B5 #E7FA97 #97FADB
split-complementary
#AA97FA #FADB97 #B5FA97
monochromatic
#4B22F4 #7A5DF7 #AA97FA #DAD1FD #E7E2FE

Accessibility & contrast

On white

2.47
#AA97FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#AA97FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97FA
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97FA#FFFFFF#000000##000000
##AA97FA1.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FE
Deuteranopia (green-blind)
#7AA3F8
Tritanopia (blue-blind)
#97A9BD
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aa97fa;
/* rgb */ color: rgb(170, 151, 250);
/* oklch */ color: oklch(73.3% 0.141 291.3);
Tailwind
colors: {
  custom: {
    50: '#c6b5fc',
    500: '#aa97fa',
    950: '#000000',
  },
}
SCSS
$custom: #aa97fa;
$custom-light: #c6b5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97fa",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 251.515,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.73291,
    "c": 0.14132,
    "h": 291.3
  },
  "luminance": 0.37581
}

Semantic roles & 50–950 ramp

primary
#AA97FA
secondary
#EFF6D5
accent
#E600B9
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AA97FA

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

Preview Lab → · Contrast checker → · Palette generator →

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