#AA9FF2#AA9FF2

#AA9FF2 is a light, moderate blue. Relative luminance 0.398; OKLCH L 74.4% C 0.118 H 289.3°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#AA9FF2
RGBrgb(170, 159, 242)
HSLhsl(248, 76%, 79%)
HSVhsv(248, 34%, 95%)
CMYKcmyk(29.8%, 34.3%, 0%, 5.1%)
CIE-LABlab(69.29, 22.05, -40.15)
CIE-LCHlch(69.29, 45.80, 298.78°)
OKLaboklab(74.38% 0.0391 -0.1118)
OKLCHoklch(74.38% 0.118 289.3)
XYZxyz(44.9986, 39.7522, 89.2893)
Luminance0.3975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9FF2 #E7F29F
analogous
#9FBDF2 #AA9FF2 #D39FF2
triadic
#AA9FF2 #F2AA9F #9FF2AA
tetradic
#AA9FF2 #F29FBD #E7F29F #9FF2D3
square
#AA9FF2 #F29FBD #E7F29F #9FF2D3
split-complementary
#AA9FF2 #F2D39F #BDF29F
monochromatic
#4B33E3 #7A69EB #AA9FF2 #DAD5F9 #E7E4FB

Accessibility & contrast

On white

2.35
#AA9FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#AA9FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9FF2
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9FF2#FFFFFF#000000##000000
##AA9FF21.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ABF5
Deuteranopia (green-blind)
#87A7F0
Tritanopia (blue-blind)
#99AEBD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #aa9ff2;
/* rgb */ color: rgb(170, 159, 242);
/* oklch */ color: oklch(74.4% 0.118 289.3);
Tailwind
colors: {
  custom: {
    50: '#c5bbf6',
    500: '#aa9ff2',
    950: '#000000',
  },
}
SCSS
$custom: #aa9ff2;
$custom-light: #c5bbf6;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9ff2",
  "rgb": {
    "r": 170,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 247.952,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.74381,
    "c": 0.11846,
    "h": 289.3
  },
  "luminance": 0.39753
}

Semantic roles & 50–950 ramp

primary
#AA9FF2
secondary
#EFF3D8
accent
#D80DBD
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131117
muted
#828085

Preview Lab

Preview with #AA9FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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