#AA9FF8#AA9FF8

#AA9FF8 is a light, vivid blue. Relative luminance 0.401; OKLCH L 74.7% C 0.127 H 288.6°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#AA9FF8
RGBrgb(170, 159, 248)
HSLhsl(247, 86%, 80%)
HSVhsv(247, 36%, 97%)
CMYKcmyk(31.5%, 35.9%, 0%, 2.7%)
CIE-LABlab(69.55, 23.55, -43.01)
CIE-LCHlch(69.55, 49.03, 298.71°)
OKLaboklab(74.67% 0.0404 -0.1201)
OKLCHoklch(74.67% 0.127 288.6)
XYZxyz(45.9145, 40.1186, 94.1133)
Luminance0.4012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9FF8 #EDF89F
analogous
#9FC0F8 #AA9FF8 #D79FF8
triadic
#AA9FF8 #F8AA9F #9FF8AA
tetradic
#AA9FF8 #F89FC0 #EDF89F #9FF8D7
square
#AA9FF8 #F89FC0 #EDF89F #9FF8D7
split-complementary
#AA9FF8 #F8D79F #C0F89F
monochromatic
#452DF0 #7766F4 #AA9FF8 #DDD8FC #E6E2FD

Accessibility & contrast

On white

2.33
#AA9FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#AA9FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9FF8
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9FF8#FFFFFF#000000##000000
##AA9FF81.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ACFC
Deuteranopia (green-blind)
#84A8F6
Tritanopia (blue-blind)
#97AFC0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aa9ff8;
/* rgb */ color: rgb(170, 159, 248);
/* oklch */ color: oklch(74.7% 0.127 288.6);
Tailwind
colors: {
  custom: {
    50: '#c5bbfb',
    500: '#aa9ff8',
    950: '#000000',
  },
}
SCSS
$custom: #aa9ff8;
$custom-light: #c5bbfb;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9ff8",
  "rgb": {
    "r": 170,
    "g": 159,
    "b": 248
  },
  "hsl": {
    "h": 247.416,
    "s": 86.408,
    "l": 79.804
  },
  "oklch": {
    "l": 0.74667,
    "c": 0.12672,
    "h": 288.6
  },
  "luminance": 0.4012
}

Semantic roles & 50–950 ramp

primary
#AA9FF8
secondary
#F1F5D6
accent
#E303C7
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AA9FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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