#AA97ED#AA97ED

#AA97ED is a light, vivid violet. Relative luminance 0.368; OKLCH L 72.6% C 0.124 H 293.2°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#AA97ED
RGBrgb(170, 151, 237)
HSLhsl(253, 70%, 76%)
HSVhsv(253, 36%, 93%)
CMYKcmyk(28.3%, 36.3%, 0%, 7.1%)
CIE-LABlab(67.12, 25.34, -40.80)
CIE-LCHlch(67.12, 48.03, 301.84°)
OKLaboklab(72.65% 0.0488 -0.1137)
OKLCHoklch(72.65% 0.124 293.2)
XYZxyz(42.9265, 36.7930, 84.9445)
Luminance0.3679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA97ED #DAED97
analogous
#97AFED #AA97ED #D597ED
triadic
#AA97ED #EDAA97 #97EDAA
tetradic
#AA97ED #ED97AF #DAED97 #97EDD5
square
#AA97ED #ED97AF #DAED97 #97EDD5
split-complementary
#AA97ED #EDD597 #AFED97
monochromatic
#552FDB #7F63E4 #AA97ED #D5CBF6 #EAE5FA

Accessibility & contrast

On white

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

On black

8.36
#AA97ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA97ED
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA97ED#FFFFFF#000000##000000
##AA97ED1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #aa97ed;
/* rgb */ color: rgb(170, 151, 237);
/* oklch */ color: oklch(72.6% 0.124 293.2);
Tailwind
colors: {
  custom: {
    50: '#c5b5f3',
    500: '#aa97ed',
    950: '#000000',
  },
}
SCSS
$custom: #aa97ed;
$custom-light: #c5b5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa97ed",
  "rgb": {
    "r": 170,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 253.256,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72649,
    "c": 0.12373,
    "h": 293.2
  },
  "luminance": 0.36794
}

Semantic roles & 50–950 ramp

primary
#AA97ED
secondary
#EDF2D9
accent
#D313A8
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AA97ED

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

Preview Lab → · Contrast checker → · Palette generator →

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