#AAAAFA#AAAAFA

#AAAAFA is a light, moderate blue. Relative luminance 0.442; OKLCH L 76.8% C 0.114 H 283.4°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#AAAAFA
RGBrgb(170, 170, 250)
HSLhsl(240, 89%, 82%)
HSVhsv(240, 32%, 98%)
CMYKcmyk(32%, 32%, 0%, 2%)
CIE-LABlab(72.36, 17.87, -39.71)
CIE-LCHlch(72.36, 43.55, 294.23°)
OKLaboklab(76.85% 0.0264 -0.1106)
OKLCHoklch(76.85% 0.114 283.4)
XYZxyz(48.2029, 44.1962, 96.4150)
Luminance0.4420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAAAFA #FAFAAA
analogous
#AAD2FA #AAAAFA #D2AAFA
triadic
#AAAAFA #FAAAAA #AAFAAA
tetradic
#AAAAFA #FAAAD2 #FAFAAA #AAFAD2
square
#AAAAFA #FAAAD2 #FAFAAA #AAFAD2
split-complementary
#AAAAFA #FAD2AA #D2FAAA
monochromatic
#3636F3 #7070F7 #AAAAFA #E2E2FD #E2E2FD

Accessibility & contrast

On white

2.13
#AAAAFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#AAAAFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAAAFA
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAAAFA#FFFFFF#000000##000000
##AAAAFA1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B4FD
Deuteranopia (green-blind)
#8FAFF8
Tritanopia (blue-blind)
#96B9C7
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #aaaafa;
/* rgb */ color: rgb(170, 170, 250);
/* oklch */ color: oklch(76.8% 0.114 283.4);
Tailwind
colors: {
  custom: {
    50: '#c5c3fc',
    500: '#aaaafa',
    950: '#000000',
  },
}
SCSS
$custom: #aaaafa;
$custom-light: #c5c3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#aaaafa",
  "rgb": {
    "r": 170,
    "g": 170,
    "b": 250
  },
  "hsl": {
    "h": 240,
    "s": 88.889,
    "l": 82.353
  },
  "oklch": {
    "l": 0.76849,
    "c": 0.11369,
    "h": 283.4
  },
  "luminance": 0.44198
}

Semantic roles & 50–950 ramp

primary
#AAAAFA
secondary
#F5F5D6
accent
#E600E5
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #AAAAFA

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

Preview Lab → · Contrast checker → · Palette generator →

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