#AAA2F8#AAA2F8

#AAA2F8 is a light, vivid blue. Relative luminance 0.412; OKLCH L 75.2% C 0.122 H 287.3°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#AAA2F8
RGBrgb(170, 162, 248)
HSLhsl(246, 86%, 80%)
HSVhsv(246, 35%, 97%)
CMYKcmyk(31.5%, 34.7%, 0%, 2.7%)
CIE-LABlab(70.29, 21.86, -41.86)
CIE-LCHlch(70.29, 47.22, 297.58°)
OKLaboklab(75.23% 0.0364 -0.1168)
OKLCHoklch(75.23% 0.122 287.3)
XYZxyz(46.4367, 41.1629, 94.2874)
Luminance0.4116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA2F8 #F0F8A2
analogous
#A2C5F8 #AAA2F8 #D5A2F8
triadic
#AAA2F8 #F8AAA2 #A2F8AA
tetradic
#AAA2F8 #F8A2C5 #F0F8A2 #A2F8D5
square
#AAA2F8 #F8A2C5 #F0F8A2 #A2F8D5
split-complementary
#AAA2F8 #F8D5A2 #C5F8A2
monochromatic
#4230EF #7669F4 #AAA2F8 #DEDBFC #E5E3FD

Accessibility & contrast

On white

2.27
#AAA2F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#AAA2F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA2F8
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA2F8#FFFFFF#000000##000000
##AAA2F81.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AEFB
Deuteranopia (green-blind)
#88AAF6
Tritanopia (blue-blind)
#97B2C2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #aaa2f8;
/* rgb */ color: rgb(170, 162, 248);
/* oklch */ color: oklch(75.2% 0.122 287.3);
Tailwind
colors: {
  custom: {
    50: '#c5bdfb',
    500: '#aaa2f8',
    950: '#000000',
  },
}
SCSS
$custom: #aaa2f8;
$custom-light: #c5bdfb;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa2f8",
  "rgb": {
    "r": 170,
    "g": 162,
    "b": 248
  },
  "hsl": {
    "h": 245.581,
    "s": 86,
    "l": 80.392
  },
  "oklch": {
    "l": 0.75231,
    "c": 0.12232,
    "h": 287.3
  },
  "luminance": 0.41164
}

Semantic roles & 50–950 ramp

primary
#AAA2F8
secondary
#F2F5D6
accent
#E303CE
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #AAA2F8

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

Preview Lab → · Contrast checker → · Palette generator →

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