#AA8AED#AA8AED

#AA8AED is a light, vivid violet. Relative luminance 0.328; OKLCH L 70.3% C 0.144 H 297.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#AA8AED
RGBrgb(170, 138, 237)
HSLhsl(259, 73%, 74%)
HSVhsv(259, 42%, 93%)
CMYKcmyk(28.3%, 41.8%, 0%, 7.1%)
CIE-LABlab(64.03, 32.68, -45.66)
CIE-LCHlch(64.03, 56.15, 305.60°)
OKLaboklab(70.3% 0.0664 -0.1277)
OKLCHoklch(70.3% 0.144 297.5)
XYZxyz(40.9485, 32.8370, 84.2852)
Luminance0.3284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8AED #CDED8A
analogous
#8A9BED #AA8AED #DB8AED
triadic
#AA8AED #EDAA8A #8AEDAA
tetradic
#AA8AED #ED8A9B #CDED8A #8AEDDB
square
#AA8AED #ED8A9B #CDED8A #8AEDDB
split-complementary
#AA8AED #EDDB8A #9BED8A
monochromatic
#5E22DB #8355E5 #AA8AED #D1BFF5 #ECE4FB

Accessibility & contrast

On white

2.78
#AA8AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#AA8AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8AED
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8AED#FFFFFF#000000##000000
##AA8AED1.002.787.577.57
#FFFFFF2.781.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BF1
Deuteranopia (green-blind)
#749AEA
Tritanopia (blue-blind)
#9C9BB0
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #aa8aed;
/* rgb */ color: rgb(170, 138, 237);
/* oklch */ color: oklch(70.3% 0.144 297.5);
Tailwind
colors: {
  custom: {
    50: '#c5acf3',
    500: '#aa8aed',
    950: '#000000',
  },
}
SCSS
$custom: #aa8aed;
$custom-light: #c5acf3;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8aed",
  "rgb": {
    "r": 170,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 259.394,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.703,
    "c": 0.14398,
    "h": 297.5
  },
  "luminance": 0.32837
}

Semantic roles & 50–950 ramp

primary
#AA8AED
secondary
#EAF3D8
accent
#D51096
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8AED

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

Preview Lab → · Contrast checker → · Palette generator →

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