#AA9DFE#AA9DFE

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

Color values

HEX#AA9DFE
RGBrgb(170, 157, 254)
HSLhsl(248, 98%, 81%)
HSVhsv(248, 38%, 100%)
CMYKcmyk(33.1%, 38.2%, 0%, 0.4%)
CIE-LABlab(69.34, 26.20, -46.61)
CIE-LCHlch(69.34, 53.47, 299.34°)
OKLaboklab(74.59% 0.0443 -0.1305)
OKLCHoklch(74.59% 0.138 288.7)
XYZxyz(46.5192, 39.8146, 98.9807)
Luminance0.3982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9DFE #F1FE9D
analogous
#9DC0FE #AA9DFE #DA9DFE
triadic
#AA9DFE #FEAA9D #9DFEAA
tetradic
#AA9DFE #FE9DC0 #F1FE9D #9DFEDA
square
#AA9DFE #FE9DC0 #F1FE9D #9DFEDA
split-complementary
#AA9DFE #FEDA9D #C0FE9D
monochromatic
#4124FD #7560FD #AA9DFE #DFDAFF #E5E1FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AA9DFE#FFFFFF#000000##000000
##AA9DFE1.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)
#7FABFF
Deuteranopia (green-blind)
#7FA7FC
Tritanopia (blue-blind)
#95AFC1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aa9dfe;
/* rgb */ color: rgb(170, 157, 254);
/* oklch */ color: oklch(74.6% 0.138 288.7);
Tailwind
colors: {
  custom: {
    50: '#c6baff',
    500: '#aa9dfe',
    950: '#000000',
  },
}
SCSS
$custom: #aa9dfe;
$custom-light: #c6baff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9dfe",
  "rgb": {
    "r": 170,
    "g": 157,
    "b": 254
  },
  "hsl": {
    "h": 248.041,
    "s": 97.98,
    "l": 80.588
  },
  "oklch": {
    "l": 0.7459,
    "c": 0.13784,
    "h": 288.7
  },
  "luminance": 0.39816
}

Semantic roles & 50–950 ramp

primary
#AA9DFE
secondary
#F2F7D4
accent
#E600C7
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AA9DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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