#AA97EB#AA97EB

#AA97EB is a light, vivid violet. Relative luminance 0.367; OKLCH L 72.6% C 0.121 H 293.5°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#AA97EB
RGBrgb(170, 151, 235)
HSLhsl(254, 68%, 76%)
HSVhsv(254, 36%, 92%)
CMYKcmyk(27.7%, 35.7%, 0%, 7.8%)
CIE-LABlab(67.03, 24.85, -39.84)
CIE-LCHlch(67.03, 46.95, 301.95°)
OKLaboklab(72.55% 0.0483 -0.1109)
OKLCHoklch(72.55% 0.121 293.5)
XYZxyz(42.6359, 36.6768, 83.4142)
Luminance0.3668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97EB #D8EB97
analogous
#97AEEB #AA97EB #D497EB
triadic
#AA97EB #EBAA97 #97EBAA
tetradic
#AA97EB #EB97AE #D8EB97 #97EBD4
square
#AA97EB #EB97AE #D8EB97 #97EBD4
split-complementary
#AA97EB #EBD497 #AEEB97
monochromatic
#5630D7 #8064E1 #AA97EB #D4CAF5 #EAE5FA

Accessibility & contrast

On white

2.52
#AA97EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#AA97EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97EB
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97EB#FFFFFF#000000##000000
##AA97EB1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A4EE
Deuteranopia (green-blind)
#82A2E9
Tritanopia (blue-blind)
#9CA6B6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aa97eb;
/* rgb */ color: rgb(170, 151, 235);
/* oklch */ color: oklch(72.6% 0.121 293.5);
Tailwind
colors: {
  custom: {
    50: '#c5b5f1',
    500: '#aa97eb',
    950: '#000000',
  },
}
SCSS
$custom: #aa97eb;
$custom-light: #c5b5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97eb",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 253.571,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72553,
    "c": 0.12101,
    "h": 293.5
  },
  "luminance": 0.36677
}

Semantic roles & 50–950 ramp

primary
#AA97EB
secondary
#ECF2D9
accent
#D016A6
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AA97EB

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

Preview Lab → · Contrast checker → · Palette generator →

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