#AA9EF8#AA9EF8

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

Color values

HEX#AA9EF8
RGBrgb(170, 158, 248)
HSLhsl(248, 87%, 80%)
HSVhsv(248, 36%, 97%)
CMYKcmyk(31.5%, 36.3%, 0%, 2.7%)
CIE-LABlab(69.31, 24.12, -43.39)
CIE-LCHlch(69.31, 49.64, 299.07°)
OKLaboklab(74.48% 0.0418 -0.1212)
OKLCHoklch(74.48% 0.128 289)
XYZxyz(45.7433, 39.7760, 94.0562)
Luminance0.3978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9EF8 #ECF89E
analogous
#9EBFF8 #AA9EF8 #D79EF8
triadic
#AA9EF8 #F8AA9E #9EF8AA
tetradic
#AA9EF8 #F89EBF #ECF89E #9EF8D7
square
#AA9EF8 #F89EBF #ECF89E #9EF8D7
split-complementary
#AA9EF8 #F8D79E #BFF89E
monochromatic
#462CF0 #7865F4 #AA9EF8 #DCD7FC #E6E2FD

Accessibility & contrast

On white

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

On black

8.96
#AA9EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9EF8
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9EF8#FFFFFF#000000##000000
##AA9EF81.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ABFC
Deuteranopia (green-blind)
#83A7F6
Tritanopia (blue-blind)
#97AEBF
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aa9ef8;
/* rgb */ color: rgb(170, 158, 248);
/* oklch */ color: oklch(74.5% 0.128 289.0);
Tailwind
colors: {
  custom: {
    50: '#c5bafb',
    500: '#aa9ef8',
    950: '#000000',
  },
}
SCSS
$custom: #aa9ef8;
$custom-light: #c5bafb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9ef8",
  "rgb": {
    "r": 170,
    "g": 158,
    "b": 248
  },
  "hsl": {
    "h": 248,
    "s": 86.538,
    "l": 79.608
  },
  "oklch": {
    "l": 0.7448,
    "c": 0.12819,
    "h": 289
  },
  "luminance": 0.39777
}

Semantic roles & 50–950 ramp

primary
#AA9EF8
secondary
#F1F5D6
accent
#E302C5
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AA9EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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