#AA9BF7#AA9BF7

#AA9BF7 is a light, vivid blue. Relative luminance 0.387; OKLCH L 73.9% C 0.131 H 290.3°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#AA9BF7
RGBrgb(170, 155, 247)
HSLhsl(250, 85%, 79%)
HSVhsv(250, 37%, 97%)
CMYKcmyk(31.2%, 37.2%, 0%, 3.1%)
CIE-LABlab(68.54, 25.56, -44.06)
CIE-LCHlch(68.54, 50.94, 300.12°)
OKLaboklab(73.87% 0.0455 -0.1231)
OKLCHoklch(73.87% 0.131 290.3)
XYZxyz(45.0831, 38.7032, 93.0728)
Luminance0.3870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9BF7 #E8F79B
analogous
#9BBAF7 #AA9BF7 #D89BF7
triadic
#AA9BF7 #F7AA9B #9BF7AA
tetradic
#AA9BF7 #F79BBA #E8F79B #9BF7D8
square
#AA9BF7 #F79BBA #E8F79B #9BF7D8
split-complementary
#AA9BF7 #F7D89B #BAF79B
monochromatic
#4A2AEE #7A62F2 #AA9BF7 #DAD4FC #E7E3FD

Accessibility & contrast

On white

2.40
#AA9BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#AA9BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9BF7
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9BF7#FFFFFF#000000##000000
##AA9BF71.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A9FB
Deuteranopia (green-blind)
#81A5F5
Tritanopia (blue-blind)
#98ACBD
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #aa9bf7;
/* rgb */ color: rgb(170, 155, 247);
/* oklch */ color: oklch(73.9% 0.131 290.3);
Tailwind
colors: {
  custom: {
    50: '#c5b8fa',
    500: '#aa9bf7',
    950: '#000000',
  },
}
SCSS
$custom: #aa9bf7;
$custom-light: #c5b8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9bf7",
  "rgb": {
    "r": 170,
    "g": 155,
    "b": 247
  },
  "hsl": {
    "h": 249.783,
    "s": 85.185,
    "l": 78.824
  },
  "oklch": {
    "l": 0.73874,
    "c": 0.13127,
    "h": 290.3
  },
  "luminance": 0.38704
}

Semantic roles & 50–950 ramp

primary
#AA9BF7
secondary
#F0F5D6
accent
#E204BE
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AA9BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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