#AAA2FE#AAA2FE

#AAA2FE is a light, vivid blue. Relative luminance 0.415; OKLCH L 75.5% C 0.131 H 286.8°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#AAA2FE
RGBrgb(170, 162, 254)
HSLhsl(245, 98%, 82%)
HSVhsv(245, 36%, 100%)
CMYKcmyk(33.1%, 36.2%, 0%, 0.4%)
CIE-LABlab(70.55, 23.38, -44.70)
CIE-LCHlch(70.55, 50.45, 297.61°)
OKLaboklab(75.52% 0.0378 -0.125)
OKLCHoklch(75.52% 0.131 286.8)
XYZxyz(47.3825, 41.5412, 99.2685)
Luminance0.4154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA2FE #F6FEA2
analogous
#A2C8FE #AAA2FE #D8A2FE
triadic
#AAA2FE #FEAAA2 #A2FEAA
tetradic
#AAA2FE #FEA2C8 #F6FEA2 #A2FED8
square
#AAA2FE #FEA2C8 #F6FEA2 #A2FED8
split-complementary
#AAA2FE #FED8A2 #C8FEA2
monochromatic
#3B29FD #7365FD #AAA2FE #E1DFFF #E3E1FF

Accessibility & contrast

On white

2.26
#AAA2FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#AAA2FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA2FE
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA2FE#FFFFFF#000000##000000
##AAA2FE1.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AFFF
Deuteranopia (green-blind)
#85AAFC
Tritanopia (blue-blind)
#95B3C4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #aaa2fe;
/* rgb */ color: rgb(170, 162, 254);
/* oklch */ color: oklch(75.5% 0.131 286.8);
Tailwind
colors: {
  custom: {
    50: '#c6bdff',
    500: '#aaa2fe',
    950: '#000000',
  },
}
SCSS
$custom: #aaa2fe;
$custom-light: #c6bdff;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa2fe",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 254
  },
  "hsl": {
    "h": 245.217,
    "s": 97.872,
    "l": 81.569
  },
  "oklch": {
    "l": 0.75519,
    "c": 0.13058,
    "h": 286.8
  },
  "luminance": 0.41542
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AAA2FE

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

Preview Lab → · Contrast checker → · Palette generator →

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