#AA9FF7#AA9FF7

#AA9FF7 is a light, vivid blue. Relative luminance 0.401; OKLCH L 74.6% C 0.125 H 288.7°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#AA9FF7
RGBrgb(170, 159, 247)
HSLhsl(248, 85%, 80%)
HSVhsv(248, 36%, 97%)
CMYKcmyk(31.2%, 35.6%, 0%, 3.1%)
CIE-LABlab(69.51, 23.30, -42.53)
CIE-LCHlch(69.51, 48.50, 298.72°)
OKLaboklab(74.62% 0.0402 -0.1187)
OKLCHoklch(74.62% 0.125 288.7)
XYZxyz(45.7598, 40.0567, 93.2984)
Luminance0.4006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AA9FF7 #ECF79F
analogous
#9FC0F7 #AA9FF7 #D69FF7
triadic
#AA9FF7 #F7AA9F #9FF7AA
tetradic
#AA9FF7 #F79FC0 #ECF79F #9FF7D6
square
#AA9FF7 #F79FC0 #ECF79F #9FF7D6
split-complementary
#AA9FF7 #F7D69F #C0F79F
monochromatic
#462EEE #7867F2 #AA9FF7 #DCD7FC #E6E3FD

Accessibility & contrast

On white

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

On black

9.01
#AA9FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AA9FF7
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AA9FF7#FFFFFF#000000##000000
##AA9FF71.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ACFA
Deuteranopia (green-blind)
#85A8F5
Tritanopia (blue-blind)
#98AFC0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aa9ff7;
/* rgb */ color: rgb(170, 159, 247);
/* oklch */ color: oklch(74.6% 0.125 288.7);
Tailwind
colors: {
  custom: {
    50: '#c5bbfa',
    500: '#aa9ff7',
    950: '#000000',
  },
}
SCSS
$custom: #aa9ff7;
$custom-light: #c5bbfa;
$custom-dark: #000000;
JSON
{
  "hex": "#aa9ff7",
  "rgb": {
    "r": 170,
    "g": 159,
    "b": 247
  },
  "hsl": {
    "h": 247.5,
    "s": 84.615,
    "l": 79.608
  },
  "oklch": {
    "l": 0.74619,
    "c": 0.12534,
    "h": 288.7
  },
  "luminance": 0.40058
}

Semantic roles & 50–950 ramp

primary
#AA9FF7
secondary
#F1F5D6
accent
#E104C6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #AA9FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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