#AAA7F5#AAA7F5

#AAA7F5 is a light, moderate blue. Relative luminance 0.428; OKLCH L 76.0% C 0.111 H 285.2°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#AAA7F5
RGBrgb(170, 167, 245)
HSLhsl(242, 80%, 81%)
HSVhsv(242, 32%, 96%)
CMYKcmyk(30.6%, 31.8%, 0%, 3.9%)
CIE-LABlab(71.40, 18.30, -38.49)
CIE-LCHlch(71.40, 42.62, 295.43°)
OKLaboklab(76.04% 0.0291 -0.1071)
OKLCHoklch(76.04% 0.111 285.2)
XYZxyz(46.8733, 42.7749, 92.1552)
Luminance0.4278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA7F5 #F2F5A7
analogous
#A7CBF5 #AAA7F5 #D1A7F5
triadic
#AAA7F5 #F5AAA7 #A7F5AA
tetradic
#AAA7F5 #F5A7CB #F2F5A7 #A7F5D1
square
#AAA7F5 #F5A7CB #F2F5A7 #A7F5D1
split-complementary
#AAA7F5 #F5D1A7 #CBF5A7
monochromatic
#4039E9 #7570EF #AAA7F5 #DFDEFB #E4E4FC

Accessibility & contrast

On white

2.20
#AAA7F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#AAA7F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA7F5
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA7F5#FFFFFF#000000##000000
##AAA7F51.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B1F8
Deuteranopia (green-blind)
#8EADF3
Tritanopia (blue-blind)
#98B5C3
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #aaa7f5;
/* rgb */ color: rgb(170, 167, 245);
/* oklch */ color: oklch(76.0% 0.111 285.2);
Tailwind
colors: {
  custom: {
    50: '#c5c1f8',
    500: '#aaa7f5',
    950: '#000000',
  },
}
SCSS
$custom: #aaa7f5;
$custom-light: #c5c1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa7f5",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 245
  },
  "hsl": {
    "h": 242.308,
    "s": 79.592,
    "l": 80.784
  },
  "oklch": {
    "l": 0.76043,
    "c": 0.11095,
    "h": 285.2
  },
  "luminance": 0.42776
}

Semantic roles & 50–950 ramp

primary
#AAA7F5
secondary
#F3F4D7
accent
#DC0AD4
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #AAA7F5

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

Preview Lab → · Contrast checker → · Palette generator →

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