#AA9FEB#AA9FEB

#AA9FEB is a light, moderate blue. Relative luminance 0.393; OKLCH L 74.1% C 0.109 H 290.1°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#AA9FEB
RGBrgb(170, 159, 235)
HSLhsl(249, 66%, 77%)
HSVhsv(249, 32%, 92%)
CMYKcmyk(27.7%, 32.3%, 0%, 7.8%)
CIE-LABlab(69.00, 20.33, -36.78)
CIE-LCHlch(69.00, 42.02, 298.93°)
OKLaboklab(74.06% 0.0374 -0.1021)
OKLCHoklch(74.06% 0.109 290.1)
XYZxyz(43.9673, 39.3397, 83.8580)
Luminance0.3934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9FEB #E0EB9F
analogous
#9FBAEB #AA9FEB #D09FEB
triadic
#AA9FEB #EBAA9F #9FEBAA
tetradic
#AA9FEB #EB9FBA #E0EB9F #9FEBD0
square
#AA9FEB #EB9FBA #E0EB9F #9FEBD0
split-complementary
#AA9FEB #EBD09F #BAEB9F
monochromatic
#503AD6 #7D6CE0 #AA9FEB #D7D2F6 #E9E6FA

Accessibility & contrast

On white

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

On black

8.87
#AA9FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9FEB
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9FEB#FFFFFF#000000##000000
##AA9FEB1.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEE
Deuteranopia (green-blind)
#8BA7E9
Tritanopia (blue-blind)
#9BACBB
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #aa9feb;
/* rgb */ color: rgb(170, 159, 235);
/* oklch */ color: oklch(74.1% 0.109 290.1);
Tailwind
colors: {
  custom: {
    50: '#c5bbf1',
    500: '#aa9feb',
    950: '#000000',
  },
}
SCSS
$custom: #aa9feb;
$custom-light: #c5bbf1;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9feb",
  "rgb": {
    "r": 170,
    "g": 159,
    "b": 235
  },
  "hsl": {
    "h": 248.684,
    "s": 65.517,
    "l": 77.255
  },
  "oklch": {
    "l": 0.74057,
    "c": 0.10877,
    "h": 290.1
  },
  "luminance": 0.3934
}

Semantic roles & 50–950 ramp

primary
#AA9FEB
secondary
#EEF1DA
accent
#CD18B3
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131117
muted
#828085

Preview Lab

Preview with #AA9FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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