#AA97F8#AA97F8

#AA97F8 is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.2% C 0.139 H 291.6°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#AA97F8
RGBrgb(170, 151, 248)
HSLhsl(252, 87%, 78%)
HSVhsv(252, 39%, 97%)
CMYKcmyk(31.5%, 39.1%, 0%, 2.7%)
CIE-LABlab(67.62, 28.07, -46.05)
CIE-LCHlch(67.62, 53.93, 301.37°)
OKLaboklab(73.19% 0.051 -0.1289)
OKLCHoklch(73.19% 0.139 291.6)
XYZxyz(44.5831, 37.4557, 93.6695)
Luminance0.3746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97F8 #E5F897
analogous
#97B4F8 #AA97F8 #DB97F8
triadic
#AA97F8 #F8AA97 #97F8AA
tetradic
#AA97F8 #F897B4 #E5F897 #97F8DB
square
#AA97F8 #F897B4 #E5F897 #97F8DB
split-complementary
#AA97F8 #F8DB97 #B4F897
monochromatic
#4C24F0 #7B5EF4 #AA97F8 #D9D0FC #E8E2FD

Accessibility & contrast

On white

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

On black

8.49
#AA97F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97F8
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97F8#FFFFFF#000000##000000
##AA97F81.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FC
Deuteranopia (green-blind)
#7CA3F6
Tritanopia (blue-blind)
#98A9BC
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aa97f8;
/* rgb */ color: rgb(170, 151, 248);
/* oklch */ color: oklch(73.2% 0.139 291.6);
Tailwind
colors: {
  custom: {
    50: '#c5b5fb',
    500: '#aa97f8',
    950: '#000000',
  },
}
SCSS
$custom: #aa97f8;
$custom-light: #c5b5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97f8",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 248
  },
  "hsl": {
    "h": 251.753,
    "s": 87.387,
    "l": 78.235
  },
  "oklch": {
    "l": 0.7319,
    "c": 0.13862,
    "h": 291.6
  },
  "luminance": 0.37457
}

Semantic roles & 50–950 ramp

primary
#AA97F8
secondary
#EFF5D6
accent
#E402B8
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AA97F8

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

Preview Lab → · Contrast checker → · Palette generator →

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