#AA9FFB#AA9FFB

#AA9FFB is a light, vivid blue. Relative luminance 0.403; OKLCH L 74.8% C 0.131 H 288.3°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#AA9FFB
RGBrgb(170, 159, 251)
HSLhsl(247, 92%, 80%)
HSVhsv(247, 37%, 98%)
CMYKcmyk(32.3%, 36.7%, 0%, 1.6%)
CIE-LABlab(69.69, 24.31, -44.43)
CIE-LCHlch(69.69, 50.65, 298.69°)
OKLaboklab(74.81% 0.0411 -0.1242)
OKLCHoklch(74.81% 0.131 288.3)
XYZxyz(46.3837, 40.3062, 96.5841)
Luminance0.4031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9FFB #F0FB9F
analogous
#9FC2FB #AA9FFB #D89FFB
triadic
#AA9FFB #FBAA9F #9FFBAA
tetradic
#AA9FFB #FB9FC2 #F0FB9F #9FFBD8
square
#AA9FFB #FB9FC2 #F0FB9F #9FFBD8
split-complementary
#AA9FFB #FBD89F #C2FB9F
monochromatic
#4229F6 #7664F9 #AA9FFB #DEDAFD #E5E2FE

Accessibility & contrast

On white

2.32
#AA9FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#AA9FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9FFB
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9FFB#FFFFFF#000000##000000
##AA9FFB1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ACFF
Deuteranopia (green-blind)
#83A8F9
Tritanopia (blue-blind)
#96B0C1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aa9ffb;
/* rgb */ color: rgb(170, 159, 251);
/* oklch */ color: oklch(74.8% 0.131 288.3);
Tailwind
colors: {
  custom: {
    50: '#c5bbfd',
    500: '#aa9ffb',
    950: '#000000',
  },
}
SCSS
$custom: #aa9ffb;
$custom-light: #c5bbfd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9ffb",
  "rgb": {
    "r": 170,
    "g": 159,
    "b": 251
  },
  "hsl": {
    "h": 247.174,
    "s": 92,
    "l": 80.392
  },
  "oklch": {
    "l": 0.74812,
    "c": 0.13082,
    "h": 288.3
  },
  "luminance": 0.40307
}

Semantic roles & 50–950 ramp

primary
#AA9FFB
secondary
#F2F6D5
accent
#E600CA
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AA9FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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