#AA9DFB#AA9DFB

#AA9DFB is a light, vivid blue. Relative luminance 0.396; OKLCH L 74.4% C 0.134 H 289.1°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#AA9DFB
RGBrgb(170, 157, 251)
HSLhsl(248, 92%, 80%)
HSVhsv(248, 37%, 98%)
CMYKcmyk(32.3%, 37.5%, 0%, 1.6%)
CIE-LABlab(69.20, 25.44, -45.19)
CIE-LCHlch(69.20, 51.86, 299.38°)
OKLaboklab(74.44% 0.0437 -0.1264)
OKLCHoklch(74.44% 0.134 289.1)
XYZxyz(46.0426, 39.6239, 96.4704)
Luminance0.3962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9DFB #EEFB9D
analogous
#9DBFFB #AA9DFB #D99DFB
triadic
#AA9DFB #FBAA9D #9DFBAA
tetradic
#AA9DFB #FB9DBF #EEFB9D #9DFBD9
square
#AA9DFB #FB9DBF #EEFB9D #9DFBD9
split-complementary
#AA9DFB #FBD99D #BFFB9D
monochromatic
#4427F6 #7762F9 #AA9DFB #DDD8FD #E6E2FE

Accessibility & contrast

On white

2.35
#AA9DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#AA9DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9DFB
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9DFB#FFFFFF#000000##000000
##AA9DFB1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ABFF
Deuteranopia (green-blind)
#81A7F9
Tritanopia (blue-blind)
#96AEC0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aa9dfb;
/* rgb */ color: rgb(170, 157, 251);
/* oklch */ color: oklch(74.4% 0.134 289.1);
Tailwind
colors: {
  custom: {
    50: '#c5bafd',
    500: '#aa9dfb',
    950: '#000000',
  },
}
SCSS
$custom: #aa9dfb;
$custom-light: #c5bafd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9dfb",
  "rgb": {
    "r": 170,
    "g": 157,
    "b": 251
  },
  "hsl": {
    "h": 248.298,
    "s": 92.157,
    "l": 80
  },
  "oklch": {
    "l": 0.74441,
    "c": 0.13376,
    "h": 289.1
  },
  "luminance": 0.39625
}

Semantic roles & 50–950 ramp

primary
#AA9DFB
secondary
#F1F6D5
accent
#E600C6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AA9DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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