#AA97E2#AA97E2

#AA97E2 is a light, moderate violet. Relative luminance 0.362; OKLCH L 72.1% C 0.109 H 295.2°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#AA97E2
RGBrgb(170, 151, 226)
HSLhsl(255, 56%, 74%)
HSVhsv(255, 33%, 89%)
CMYKcmyk(24.8%, 33.2%, 0%, 11.4%)
CIE-LABlab(66.65, 22.67, -35.49)
CIE-LCHlch(66.65, 42.11, 302.57°)
OKLaboklab(72.13% 0.0463 -0.0984)
OKLCHoklch(72.13% 0.109 295.2)
XYZxyz(41.3684, 36.1698, 76.7388)
Luminance0.3617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97E2 #CFE297
analogous
#97AAE2 #AA97E2 #D097E2
triadic
#AA97E2 #E2AA97 #97E2AA
tetradic
#AA97E2 #E297AA #CFE297 #97E2D0
square
#AA97E2 #E297AA #CFE297 #97E2D0
split-complementary
#AA97E2 #E2D097 #AAE297
monochromatic
#5C38C7 #8367D5 #AA97E2 #D1C7EF #EBE7F8

Accessibility & contrast

On white

2.55
#AA97E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#AA97E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97E2
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97E2#FFFFFF#000000##000000
##AA97E21.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A3E5
Deuteranopia (green-blind)
#87A1E0
Tritanopia (blue-blind)
#9FA4B2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #aa97e2;
/* rgb */ color: rgb(170, 151, 226);
/* oklch */ color: oklch(72.1% 0.109 295.2);
Tailwind
colors: {
  custom: {
    50: '#c4b5eb',
    500: '#aa97e2',
    950: '#000000',
  },
}
SCSS
$custom: #aa97e2;
$custom-light: #c4b5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97e2",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 226
  },
  "hsl": {
    "h": 255.2,
    "s": 56.391,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72133,
    "c": 0.10873,
    "h": 295.2
  },
  "luminance": 0.3617
}

Semantic roles & 50–950 ramp

primary
#AA97E2
secondary
#EAF0DB
accent
#C4229B
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084

Preview Lab

Preview with #AA97E2

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

Preview Lab → · Contrast checker → · Palette generator →

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