#AA8AFA#AA8AFA

#AA8AFA is a light, vivid violet. Relative luminance 0.336; OKLCH L 71.0% C 0.161 H 295.2°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#AA8AFA
RGBrgb(170, 138, 250)
HSLhsl(257, 92%, 76%)
HSVhsv(257, 45%, 98%)
CMYKcmyk(32%, 44.8%, 0%, 2%)
CIE-LABlab(64.66, 35.90, -51.80)
CIE-LCHlch(64.66, 63.03, 304.72°)
OKLaboklab(70.99% 0.0684 -0.1456)
OKLCHoklch(70.99% 0.161 295.2)
XYZxyz(42.9170, 33.6245, 94.6530)
Luminance0.3362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA8AFA #DAFA8A
analogous
#8AA2FA #AA8AFA #E28AFA
triadic
#AA8AFA #FAAA8A #8AFAAA
tetradic
#AA8AFA #FA8AA2 #DAFA8A #8AFAE2
square
#AA8AFA #FA8AA2 #DAFA8A #8AFAE2
split-complementary
#AA8AFA #FAE28A #A2FA8A
monochromatic
#5515F5 #7F4FF7 #AA8AFA #D5C5FD #EAE2FE

Accessibility & contrast

On white

2.72
#AA8AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#AA8AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA8AFA
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA8AFA#FFFFFF#000000##000000
##AA8AFA1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFE
Deuteranopia (green-blind)
#6B9BF7
Tritanopia (blue-blind)
#989FB6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #aa8afa;
/* rgb */ color: rgb(170, 138, 250);
/* oklch */ color: oklch(71.0% 0.161 295.2);
Tailwind
colors: {
  custom: {
    50: '#c6acfc',
    500: '#aa8afa',
    950: '#000000',
  },
}
SCSS
$custom: #aa8afa;
$custom-light: #c6acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa8afa",
  "rgb": {
    "r": 170,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 257.143,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70986,
    "c": 0.1609,
    "h": 295.2
  },
  "luminance": 0.33625
}

Semantic roles & 50–950 ramp

primary
#AA8AFA
secondary
#EDF6D5
accent
#E600A4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #AA8AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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