#AA97F7#AA97F7

#AA97F7 is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.1% C 0.137 H 291.7°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#AA97F7
RGBrgb(170, 151, 247)
HSLhsl(252, 86%, 78%)
HSVhsv(252, 39%, 97%)
CMYKcmyk(31.2%, 38.9%, 0%, 3.1%)
CIE-LABlab(67.57, 27.82, -45.57)
CIE-LCHlch(67.57, 53.39, 301.40°)
OKLaboklab(73.14% 0.0508 -0.1275)
OKLCHoklch(73.14% 0.137 291.7)
XYZxyz(44.4284, 37.3938, 92.8546)
Luminance0.3740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97F7 #E4F797
analogous
#97B4F7 #AA97F7 #DA97F7
triadic
#AA97F7 #F7AA97 #97F7AA
tetradic
#AA97F7 #F797B4 #E4F797 #97F7DA
square
#AA97F7 #F797B4 #E4F797 #97F7DA
split-complementary
#AA97F7 #F7DA97 #B4F797
monochromatic
#4D25EE #7C5EF3 #AA97F7 #D8D0FB #E8E3FD

Accessibility & contrast

On white

2.48
#AA97F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#AA97F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97F7
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97F7#FFFFFF#000000##000000
##AA97F71.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA6FB
Deuteranopia (green-blind)
#7CA3F5
Tritanopia (blue-blind)
#98A8BB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #aa97f7;
/* rgb */ color: rgb(170, 151, 247);
/* oklch */ color: oklch(73.1% 0.137 291.7);
Tailwind
colors: {
  custom: {
    50: '#c5b5fa',
    500: '#aa97f7',
    950: '#000000',
  },
}
SCSS
$custom: #aa97f7;
$custom-light: #c5b5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97f7",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 247
  },
  "hsl": {
    "h": 251.875,
    "s": 85.714,
    "l": 78.039
  },
  "oklch": {
    "l": 0.7314,
    "c": 0.13727,
    "h": 291.7
  },
  "luminance": 0.37395
}

Semantic roles & 50–950 ramp

primary
#AA97F7
secondary
#EFF5D6
accent
#E203B6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AA97F7

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

Preview Lab → · Contrast checker → · Palette generator →

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