#AA97EE#AA97EE

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

Color values

HEX#AA97EE
RGBrgb(170, 151, 238)
HSLhsl(253, 72%, 76%)
HSVhsv(253, 37%, 93%)
CMYKcmyk(28.6%, 36.6%, 0%, 6.7%)
CIE-LABlab(67.17, 25.58, -41.28)
CIE-LCHlch(67.17, 48.57, 301.79°)
OKLaboklab(72.7% 0.049 -0.1151)
OKLCHoklch(72.7% 0.125 293.1)
XYZxyz(43.0730, 36.8516, 85.7161)
Luminance0.3685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97EE #DBEE97
analogous
#97B0EE #AA97EE #D697EE
triadic
#AA97EE #EEAA97 #97EEAA
tetradic
#AA97EE #EE97B0 #DBEE97 #97EED6
square
#AA97EE #EE97B0 #DBEE97 #97EED6
split-complementary
#AA97EE #EED697 #B0EE97
monochromatic
#542EDD #7F62E5 #AA97EE #D5CCF7 #EAE5FB

Accessibility & contrast

On white

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

On black

8.37
#AA97EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97EE
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97EE#FFFFFF#000000##000000
##AA97EE1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F1
Deuteranopia (green-blind)
#81A2EC
Tritanopia (blue-blind)
#9BA6B7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aa97ee;
/* rgb */ color: rgb(170, 151, 238);
/* oklch */ color: oklch(72.7% 0.125 293.1);
Tailwind
colors: {
  custom: {
    50: '#c5b5f4',
    500: '#aa97ee',
    950: '#000000',
  },
}
SCSS
$custom: #aa97ee;
$custom-light: #c5b5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97ee",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 238
  },
  "hsl": {
    "h": 253.103,
    "s": 71.901,
    "l": 76.275
  },
  "oklch": {
    "l": 0.72697,
    "c": 0.12509,
    "h": 293.1
  },
  "luminance": 0.36852
}

Semantic roles & 50–950 ramp

primary
#AA97EE
secondary
#EDF2D9
accent
#D412A9
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AA97EE

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

Preview Lab → · Contrast checker → · Palette generator →

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