#AA8AEB#AA8AEB

#AA8AEB is a light, vivid violet. Relative luminance 0.327; OKLCH L 70.2% C 0.141 H 297.9°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#AA8AEB
RGBrgb(170, 138, 235)
HSLhsl(260, 71%, 73%)
HSVhsv(260, 41%, 92%)
CMYKcmyk(27.7%, 41.3%, 0%, 7.8%)
CIE-LABlab(63.93, 32.19, -44.70)
CIE-LCHlch(63.93, 55.09, 305.76°)
OKLaboklab(70.2% 0.0661 -0.125)
OKLCHoklch(70.2% 0.141 297.9)
XYZxyz(40.6579, 32.7208, 82.7549)
Luminance0.3272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8AEB #CBEB8A
analogous
#8A9AEB #AA8AEB #DA8AEB
triadic
#AA8AEB #EBAA8A #8AEBAA
tetradic
#AA8AEB #EB8A9A #CBEB8A #8AEBDA
square
#AA8AEB #EB8A9A #CBEB8A #8AEBDA
split-complementary
#AA8AEB #EBDA8A #9AEB8A
monochromatic
#5F25D6 #8456E2 #AA8AEB #D0BEF4 #ECE5FB

Accessibility & contrast

On white

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

On black

7.54
#AA8AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8AEB
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8AEB#FFFFFF#000000##000000
##AA8AEB1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEF
Deuteranopia (green-blind)
#759AE9
Tritanopia (blue-blind)
#9D9BAF
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #aa8aeb;
/* rgb */ color: rgb(170, 138, 235);
/* oklch */ color: oklch(70.2% 0.141 297.9);
Tailwind
colors: {
  custom: {
    50: '#c5acf2',
    500: '#aa8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #aa8aeb;
$custom-light: #c5acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8aeb",
  "rgb": {
    "r": 170,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 259.794,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.70198,
    "c": 0.14137,
    "h": 297.9
  },
  "luminance": 0.32721
}

Semantic roles & 50–950 ramp

primary
#AA8AEB
secondary
#EAF2D9
accent
#D31393
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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