#AAA2FF#AAA2FF

#AAA2FF is a light, vivid blue. Relative luminance 0.416; OKLCH L 75.6% C 0.132 H 286.7°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#AAA2FF
RGBrgb(170, 162, 255)
HSLhsl(245, 100%, 82%)
HSVhsv(245, 36%, 100%)
CMYKcmyk(33.3%, 36.5%, 0%, 0%)
CIE-LABlab(70.60, 23.64, -45.17)
CIE-LCHlch(70.60, 50.98, 297.62°)
OKLaboklab(75.57% 0.038 -0.1264)
OKLCHoklch(75.57% 0.132 286.7)
XYZxyz(47.5430, 41.6054, 100.1141)
Luminance0.4161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA2FF #F7FFA2
analogous
#A2C9FF #AAA2FF #D9A2FF
triadic
#AAA2FF #FFAAA2 #A2FFAA
tetradic
#AAA2FF #FFA2C9 #F7FFA2 #A2FFD9
square
#AAA2FF #FFA2C9 #F7FFA2 #A2FFD9
split-complementary
#AAA2FF #FFD9A2 #C9FFA2
monochromatic
#3A28FF #7265FF #AAA2FF #E2DFFF #E3E0FF

Accessibility & contrast

On white

2.25
#AAA2FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.32
#AAA2FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA2FF
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA2FF#FFFFFF#000000##000000
##AAA2FF1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AFFF
Deuteranopia (green-blind)
#84AAFD
Tritanopia (blue-blind)
#94B3C5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aaa2ff;
/* rgb */ color: rgb(170, 162, 255);
/* oklch */ color: oklch(75.6% 0.132 286.7);
Tailwind
colors: {
  custom: {
    50: '#c6bdff',
    500: '#aaa2ff',
    950: '#000000',
  },
}
SCSS
$custom: #aaa2ff;
$custom-light: #c6bdff;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa2ff",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 255
  },
  "hsl": {
    "h": 245.161,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.75568,
    "c": 0.13195,
    "h": 286.7
  },
  "luminance": 0.41607
}

Semantic roles & 50–950 ramp

primary
#AAA2FF
secondary
#F4F7D4
accent
#E600D2
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #AAA2FF

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

Preview Lab → · Contrast checker → · Palette generator →

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