#AA9EF2#AA9EF2

#AA9EF2 is a light, moderate blue. Relative luminance 0.394; OKLCH L 74.2% C 0.120 H 289.7°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#AA9EF2
RGBrgb(170, 158, 242)
HSLhsl(249, 76%, 78%)
HSVhsv(249, 35%, 95%)
CMYKcmyk(29.8%, 34.7%, 0%, 5.1%)
CIE-LABlab(69.05, 22.62, -40.53)
CIE-LCHlch(69.05, 46.41, 299.16°)
OKLaboklab(74.19% 0.0404 -0.1129)
OKLCHoklch(74.19% 0.12 289.7)
XYZxyz(44.8273, 39.4096, 89.2322)
Luminance0.3941 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9EF2 #E6F29E
analogous
#9EBCF2 #AA9EF2 #D49EF2
triadic
#AA9EF2 #F2AA9E #9EF2AA
tetradic
#AA9EF2 #F29EBC #E6F29E #9EF2D4
square
#AA9EF2 #F29EBC #E6F29E #9EF2D4
split-complementary
#AA9EF2 #F2D49E #BCF29E
monochromatic
#4B32E4 #7B68EB #AA9EF2 #D9D4F9 #E7E4FB

Accessibility & contrast

On white

2.36
#AA9EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#AA9EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9EF2
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9EF2#FFFFFF#000000##000000
##AA9EF21.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AAF5
Deuteranopia (green-blind)
#86A7F0
Tritanopia (blue-blind)
#99ADBD
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #aa9ef2;
/* rgb */ color: rgb(170, 158, 242);
/* oklch */ color: oklch(74.2% 0.120 289.7);
Tailwind
colors: {
  custom: {
    50: '#c5baf6',
    500: '#aa9ef2',
    950: '#000000',
  },
}
SCSS
$custom: #aa9ef2;
$custom-light: #c5baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9ef2",
  "rgb": {
    "r": 170,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 248.571,
    "s": 76.364,
    "l": 78.431
  },
  "oklch": {
    "l": 0.74193,
    "c": 0.11995,
    "h": 289.7
  },
  "luminance": 0.39411
}

Semantic roles & 50–950 ramp

primary
#AA9EF2
secondary
#EFF3D8
accent
#D90DBB
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #AA9EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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