#AA9DFD#AA9DFD

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

Color values

HEX#AA9DFD
RGBrgb(170, 157, 253)
HSLhsl(248, 96%, 80%)
HSVhsv(248, 38%, 99%)
CMYKcmyk(32.8%, 37.9%, 0%, 0.8%)
CIE-LABlab(69.29, 25.95, -46.14)
CIE-LCHlch(69.29, 52.93, 299.35°)
OKLaboklab(74.54% 0.0441 -0.1292)
OKLCHoklch(74.54% 0.136 288.8)
XYZxyz(46.3595, 39.7507, 98.1396)
Luminance0.3975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9DFD #F0FD9D
analogous
#9DC0FD #AA9DFD #DA9DFD
triadic
#AA9DFD #FDAA9D #9DFDAA
tetradic
#AA9DFD #FD9DC0 #F0FD9D #9DFDDA
square
#AA9DFD #FD9DC0 #F0FD9D #9DFDDA
split-complementary
#AA9DFD #FDDA9D #C0FD9D
monochromatic
#4225FB #7661FC #AA9DFD #DED9FE #E5E1FE

Accessibility & contrast

On white

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

On black

8.95
#AA9DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9DFD
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9DFD#FFFFFF#000000##000000
##AA9DFD1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ABFF
Deuteranopia (green-blind)
#7FA7FB
Tritanopia (blue-blind)
#96AFC1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aa9dfd;
/* rgb */ color: rgb(170, 157, 253);
/* oklch */ color: oklch(74.5% 0.136 288.8);
Tailwind
colors: {
  custom: {
    50: '#c6bafe',
    500: '#aa9dfd',
    950: '#000000',
  },
}
SCSS
$custom: #aa9dfd;
$custom-light: #c6bafe;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9dfd",
  "rgb": {
    "r": 170,
    "g": 157,
    "b": 253
  },
  "hsl": {
    "h": 248.125,
    "s": 96,
    "l": 80.392
  },
  "oklch": {
    "l": 0.7454,
    "c": 0.13648,
    "h": 288.8
  },
  "luminance": 0.39752
}

Semantic roles & 50–950 ramp

primary
#AA9DFD
secondary
#F2F7D4
accent
#E600C6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AA9DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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