#AA9AFA#AA9AFA

#AA9AFA is a light, vivid violet. Relative luminance 0.386; OKLCH L 73.8% C 0.137 H 290.3°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#AA9AFA
RGBrgb(170, 154, 250)
HSLhsl(250, 91%, 79%)
HSVhsv(250, 38%, 98%)
CMYKcmyk(32%, 38.4%, 0%, 2%)
CIE-LABlab(68.43, 26.88, -45.86)
CIE-LCHlch(68.43, 53.16, 300.38°)
OKLaboklab(73.84% 0.0474 -0.1283)
OKLCHoklch(73.84% 0.137 290.3)
XYZxyz(45.3840, 38.5584, 95.4753)
Luminance0.3856 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9AFA #EAFA9A
analogous
#9ABAFA #AA9AFA #DA9AFA
triadic
#AA9AFA #FAAA9A #9AFAAA
tetradic
#AA9AFA #FA9ABA #EAFA9A #9AFADA
square
#AA9AFA #FA9ABA #EAFA9A #9AFADA
split-complementary
#AA9AFA #FADA9A #BAFA9A
monochromatic
#4825F4 #7960F7 #AA9AFA #DBD4FD #E6E2FE

Accessibility & contrast

On white

2.41
#AA9AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#AA9AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9AFA
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9AFA#FFFFFF#000000##000000
##AA9AFA1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FE
Deuteranopia (green-blind)
#7EA5F8
Tritanopia (blue-blind)
#97ACBE
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #aa9afa;
/* rgb */ color: rgb(170, 154, 250);
/* oklch */ color: oklch(73.8% 0.137 290.3);
Tailwind
colors: {
  custom: {
    50: '#c6b7fc',
    500: '#aa9afa',
    950: '#000000',
  },
}
SCSS
$custom: #aa9afa;
$custom-light: #c6b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9afa",
  "rgb": {
    "r": 170,
    "g": 154,
    "b": 250
  },
  "hsl": {
    "h": 250,
    "s": 90.566,
    "l": 79.216
  },
  "oklch": {
    "l": 0.73838,
    "c": 0.13684,
    "h": 290.3
  },
  "luminance": 0.38559
}

Semantic roles & 50–950 ramp

primary
#AA9AFA
secondary
#F0F6D5
accent
#E600BF
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AA9AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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