#AA9EFE#AA9EFE

#AA9EFE is a light, vivid blue. Relative luminance 0.402; OKLCH L 74.8% C 0.136 H 288.4°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#AA9EFE
RGBrgb(170, 158, 254)
HSLhsl(248, 98%, 81%)
HSVhsv(248, 38%, 100%)
CMYKcmyk(33.1%, 37.8%, 0%, 0.4%)
CIE-LABlab(69.58, 25.64, -46.23)
CIE-LCHlch(69.58, 52.86, 299.01°)
OKLaboklab(74.77% 0.043 -0.1294)
OKLCHoklch(74.77% 0.136 288.4)
XYZxyz(46.6891, 40.1543, 99.0374)
Luminance0.4016 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9EFE #F2FE9E
analogous
#9EC2FE #AA9EFE #DA9EFE
triadic
#AA9EFE #FEAA9E #9EFEAA
tetradic
#AA9EFE #FE9EC2 #F2FE9E #9EFEDA
square
#AA9EFE #FE9EC2 #F2FE9E #9EFEDA
split-complementary
#AA9EFE #FEDA9E #C2FE9E
monochromatic
#4025FD #7561FD #AA9EFE #DFDBFF #E4E1FF

Accessibility & contrast

On white

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

On black

9.03
#AA9EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9EFE
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9EFE#FFFFFF#000000##000000
##AA9EFE1.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ACFF
Deuteranopia (green-blind)
#80A8FC
Tritanopia (blue-blind)
#95B0C2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aa9efe;
/* rgb */ color: rgb(170, 158, 254);
/* oklch */ color: oklch(74.8% 0.136 288.4);
Tailwind
colors: {
  custom: {
    50: '#c6baff',
    500: '#aa9efe',
    950: '#000000',
  },
}
SCSS
$custom: #aa9efe;
$custom-light: #c6baff;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9efe",
  "rgb": {
    "r": 170,
    "g": 158,
    "b": 254
  },
  "hsl": {
    "h": 247.5,
    "s": 97.959,
    "l": 80.784
  },
  "oklch": {
    "l": 0.74774,
    "c": 0.13638,
    "h": 288.4
  },
  "luminance": 0.40156
}

Semantic roles & 50–950 ramp

primary
#AA9EFE
secondary
#F3F7D4
accent
#E600C9
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #AA9EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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