#AAA2F7#AAA2F7

#AAA2F7 is a light, vivid blue. Relative luminance 0.411; OKLCH L 75.2% C 0.121 H 287.4°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#AAA2F7
RGBrgb(170, 162, 247)
HSLhsl(246, 84%, 80%)
HSVhsv(246, 34%, 97%)
CMYKcmyk(31.2%, 34.4%, 0%, 3.1%)
CIE-LABlab(70.25, 21.61, -41.38)
CIE-LCHlch(70.25, 46.68, 297.58°)
OKLaboklab(75.18% 0.0362 -0.1154)
OKLCHoklch(75.18% 0.121 287.4)
XYZxyz(46.2820, 41.1010, 93.4725)
Luminance0.4110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA2F7 #EFF7A2
analogous
#A2C4F7 #AAA2F7 #D4A2F7
triadic
#AAA2F7 #F7AAA2 #A2F7AA
tetradic
#AAA2F7 #F7A2C4 #EFF7A2 #A2F7D4
square
#AAA2F7 #F7A2C4 #EFF7A2 #A2F7D4
split-complementary
#AAA2F7 #F7D4A2 #C4F7A2
monochromatic
#4331ED #766AF2 #AAA2F7 #DEDAFC #E5E3FD

Accessibility & contrast

On white

2.28
#AAA2F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#AAA2F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA2F7
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA2F7#FFFFFF#000000##000000
##AAA2F71.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AEFA
Deuteranopia (green-blind)
#88AAF5
Tritanopia (blue-blind)
#97B1C1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aaa2f7;
/* rgb */ color: rgb(170, 162, 247);
/* oklch */ color: oklch(75.2% 0.121 287.4);
Tailwind
colors: {
  custom: {
    50: '#c5bdfa',
    500: '#aaa2f7',
    950: '#000000',
  },
}
SCSS
$custom: #aaa2f7;
$custom-light: #c5bdfa;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa2f7",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 247
  },
  "hsl": {
    "h": 245.647,
    "s": 84.158,
    "l": 80.196
  },
  "oklch": {
    "l": 0.75183,
    "c": 0.12094,
    "h": 287.4
  },
  "luminance": 0.41102
}

Semantic roles & 50–950 ramp

primary
#AAA2F7
secondary
#F2F5D6
accent
#E105CC
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #AAA2F7

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

Preview Lab → · Contrast checker → · Palette generator →

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