#AA9AF8#AA9AF8

#AA9AF8 is a light, vivid violet. Relative luminance 0.384; OKLCH L 73.7% C 0.134 H 290.5°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#AA9AF8
RGBrgb(170, 154, 248)
HSLhsl(250, 87%, 79%)
HSVhsv(250, 38%, 97%)
CMYKcmyk(31.5%, 37.9%, 0%, 2.7%)
CIE-LABlab(68.34, 26.38, -44.91)
CIE-LCHlch(68.34, 52.08, 300.42°)
OKLaboklab(73.74% 0.047 -0.1256)
OKLCHoklch(73.74% 0.134 290.5)
XYZxyz(45.0721, 38.4336, 93.8325)
Luminance0.3844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9AF8 #E8F89A
analogous
#9AB9F8 #AA9AF8 #D99AF8
triadic
#AA9AF8 #F8AA9A #9AF8AA
tetradic
#AA9AF8 #F89AB9 #E8F89A #9AF8D9
square
#AA9AF8 #F89AB9 #E8F89A #9AF8D9
split-complementary
#AA9AF8 #F8D99A #B9F89A
monochromatic
#4A28F0 #7A61F4 #AA9AF8 #DAD3FC #E7E2FD

Accessibility & contrast

On white

2.42
#AA9AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#AA9AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9AF8
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9AF8#FFFFFF#000000##000000
##AA9AF81.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA8FC
Deuteranopia (green-blind)
#7FA5F6
Tritanopia (blue-blind)
#98ABBD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #aa9af8;
/* rgb */ color: rgb(170, 154, 248);
/* oklch */ color: oklch(73.7% 0.134 290.5);
Tailwind
colors: {
  custom: {
    50: '#c5b7fb',
    500: '#aa9af8',
    950: '#000000',
  },
}
SCSS
$custom: #aa9af8;
$custom-light: #c5b7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9af8",
  "rgb": {
    "r": 170,
    "g": 154,
    "b": 248
  },
  "hsl": {
    "h": 250.213,
    "s": 87.037,
    "l": 78.824
  },
  "oklch": {
    "l": 0.73739,
    "c": 0.13413,
    "h": 290.5
  },
  "luminance": 0.38435
}

Semantic roles & 50–950 ramp

primary
#AA9AF8
secondary
#F0F5D6
accent
#E402BD
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AA9AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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