#AA9EF9#AA9EF9

#AA9EF9 is a light, vivid blue. Relative luminance 0.398; OKLCH L 74.5% C 0.130 H 288.9°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#AA9EF9
RGBrgb(170, 158, 249)
HSLhsl(248, 88%, 80%)
HSVhsv(248, 37%, 98%)
CMYKcmyk(31.7%, 36.5%, 0%, 2.4%)
CIE-LABlab(69.35, 24.37, -43.86)
CIE-LCHlch(69.35, 50.18, 299.05°)
OKLaboklab(74.53% 0.042 -0.1226)
OKLCHoklch(74.53% 0.13 288.9)
XYZxyz(45.8988, 39.8382, 94.8755)
Luminance0.3984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9EF9 #EDF99E
analogous
#9EC0F9 #AA9EF9 #D89EF9
triadic
#AA9EF9 #F9AA9E #9EF9AA
tetradic
#AA9EF9 #F99EC0 #EDF99E #9EF9D8
square
#AA9EF9 #F99EC0 #EDF99E #9EF9D8
split-complementary
#AA9EF9 #F9D89E #C0F99E
monochromatic
#452BF2 #7764F5 #AA9EF9 #DDD8FD #E6E2FD

Accessibility & contrast

On white

2.34
#AA9EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#AA9EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9EF9
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9EF9#FFFFFF#000000##000000
##AA9EF91.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ABFD
Deuteranopia (green-blind)
#83A7F7
Tritanopia (blue-blind)
#97AFC0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aa9ef9;
/* rgb */ color: rgb(170, 158, 249);
/* oklch */ color: oklch(74.5% 0.130 288.9);
Tailwind
colors: {
  custom: {
    50: '#c5bafb',
    500: '#aa9ef9',
    950: '#000000',
  },
}
SCSS
$custom: #aa9ef9;
$custom-light: #c5bafb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9ef9",
  "rgb": {
    "r": 170,
    "g": 158,
    "b": 249
  },
  "hsl": {
    "h": 247.912,
    "s": 88.35,
    "l": 79.804
  },
  "oklch": {
    "l": 0.74529,
    "c": 0.12956,
    "h": 288.9
  },
  "luminance": 0.39839
}

Semantic roles & 50–950 ramp

primary
#AA9EF9
secondary
#F1F5D6
accent
#E501C7
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AA9EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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