#AA97EC#AA97EC

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

Color values

HEX#AA97EC
RGBrgb(170, 151, 236)
HSLhsl(253, 69%, 76%)
HSVhsv(253, 36%, 93%)
CMYKcmyk(28%, 36%, 0%, 7.5%)
CIE-LABlab(67.08, 25.09, -40.32)
CIE-LCHlch(67.08, 47.49, 301.89°)
OKLaboklab(72.6% 0.0486 -0.1123)
OKLCHoklch(72.6% 0.122 293.4)
XYZxyz(42.7808, 36.7347, 84.1772)
Luminance0.3674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97EC #D9EC97
analogous
#97AEEC #AA97EC #D497EC
triadic
#AA97EC #ECAA97 #97ECAA
tetradic
#AA97EC #EC97AE #D9EC97 #97ECD4
square
#AA97EC #EC97AE #D9EC97 #97ECD4
split-complementary
#AA97EC #ECD497 #AEEC97
monochromatic
#5530D9 #8063E3 #AA97EC #D4CBF5 #EAE5FA

Accessibility & contrast

On white

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

On black

8.35
#AA97EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97EC
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97EC#FFFFFF#000000##000000
##AA97EC1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A4EF
Deuteranopia (green-blind)
#82A2EA
Tritanopia (blue-blind)
#9CA6B7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #aa97ec;
/* rgb */ color: rgb(170, 151, 236);
/* oklch */ color: oklch(72.6% 0.122 293.4);
Tailwind
colors: {
  custom: {
    50: '#c5b5f2',
    500: '#aa97ec',
    950: '#000000',
  },
}
SCSS
$custom: #aa97ec;
$custom-light: #c5b5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97ec",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 253.412,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.72601,
    "c": 0.12237,
    "h": 293.4
  },
  "luminance": 0.36735
}

Semantic roles & 50–950 ramp

primary
#AA97EC
secondary
#ECF2D9
accent
#D114A7
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AA97EC

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

Preview Lab → · Contrast checker → · Palette generator →

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