#AA97EF#AA97EF

#AA97EF is a light, vivid violet. Relative luminance 0.369; OKLCH L 72.7% C 0.126 H 292.9°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#AA97EF
RGBrgb(170, 151, 239)
HSLhsl(253, 73%, 76%)
HSVhsv(253, 37%, 94%)
CMYKcmyk(28.9%, 36.8%, 0%, 6.3%)
CIE-LABlab(67.21, 25.83, -41.76)
CIE-LCHlch(67.21, 49.10, 301.74°)
OKLaboklab(72.75% 0.0492 -0.1165)
OKLCHoklch(72.75% 0.126 292.9)
XYZxyz(43.2203, 36.9106, 86.4920)
Luminance0.3691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97EF #DCEF97
analogous
#97B0EF #AA97EF #D697EF
triadic
#AA97EF #EFAA97 #97EFAA
tetradic
#AA97EF #EF97B0 #DCEF97 #97EFD6
square
#AA97EF #EF97B0 #DCEF97 #97EFD6
split-complementary
#AA97EF #EFD697 #B0EF97
monochromatic
#532DDF #7F62E7 #AA97EF #D5CCF7 #E9E4FB

Accessibility & contrast

On white

2.51
#AA97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#AA97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97EF
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97EF#FFFFFF#000000##000000
##AA97EF1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA5F2
Deuteranopia (green-blind)
#80A2ED
Tritanopia (blue-blind)
#9BA7B8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #aa97ef;
/* rgb */ color: rgb(170, 151, 239);
/* oklch */ color: oklch(72.7% 0.126 292.9);
Tailwind
colors: {
  custom: {
    50: '#c5b5f4',
    500: '#aa97ef',
    950: '#000000',
  },
}
SCSS
$custom: #aa97ef;
$custom-light: #c5b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97ef",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 252.955,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72746,
    "c": 0.12645,
    "h": 292.9
  },
  "luminance": 0.36911
}

Semantic roles & 50–950 ramp

primary
#AA97EF
secondary
#EDF3D8
accent
#D510AB
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AA97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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