#AA9CFB#AA9CFB

#AA9CFB is a light, vivid blue. Relative luminance 0.393; OKLCH L 74.3% C 0.135 H 289.4°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#AA9CFB
RGBrgb(170, 156, 251)
HSLhsl(249, 92%, 80%)
HSVhsv(249, 38%, 98%)
CMYKcmyk(32.3%, 37.8%, 0%, 1.6%)
CIE-LABlab(68.96, 26.00, -45.57)
CIE-LCHlch(68.96, 52.47, 299.71°)
OKLaboklab(74.26% 0.045 -0.1275)
OKLCHoklch(74.26% 0.135 289.4)
XYZxyz(45.8741, 39.2869, 96.4143)
Luminance0.3929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9CFB #EDFB9C
analogous
#9CBEFB #AA9CFB #D99CFB
triadic
#AA9CFB #FBAA9C #9CFBAA
tetradic
#AA9CFB #FB9CBE #EDFB9C #9CFBD9
square
#AA9CFB #FB9CBE #EDFB9C #9CFBD9
split-complementary
#AA9CFB #FBD99C #BEFB9C
monochromatic
#4526F6 #7761F9 #AA9CFB #DDD7FD #E6E2FE

Accessibility & contrast

On white

2.37
#AA9CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#AA9CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9CFB
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9CFB#FFFFFF#000000##000000
##AA9CFB1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FAAFF
Deuteranopia (green-blind)
#7FA6F9
Tritanopia (blue-blind)
#96ADC0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #aa9cfb;
/* rgb */ color: rgb(170, 156, 251);
/* oklch */ color: oklch(74.3% 0.135 289.4);
Tailwind
colors: {
  custom: {
    50: '#c6b9fd',
    500: '#aa9cfb',
    950: '#000000',
  },
}
SCSS
$custom: #aa9cfb;
$custom-light: #c6b9fd;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9cfb",
  "rgb": {
    "r": 170,
    "g": 156,
    "b": 251
  },
  "hsl": {
    "h": 248.842,
    "s": 92.233,
    "l": 79.804
  },
  "oklch": {
    "l": 0.74256,
    "c": 0.13524,
    "h": 289.4
  },
  "luminance": 0.39288
}

Semantic roles & 50–950 ramp

primary
#AA9CFB
secondary
#F1F6D5
accent
#E600C4
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AA9CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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