#AAA7F2#AAA7F2

#AAA7F2 is a light, moderate blue. Relative luminance 0.426; OKLCH L 75.9% C 0.107 H 285.4°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#AAA7F2
RGBrgb(170, 167, 242)
HSLhsl(242, 74%, 80%)
HSVhsv(242, 31%, 95%)
CMYKcmyk(29.8%, 31%, 0%, 5.1%)
CIE-LABlab(71.28, 17.55, -37.05)
CIE-LCHlch(71.28, 41.00, 295.35°)
OKLaboklab(75.91% 0.0283 -0.1029)
OKLCHoklch(75.91% 0.107 285.4)
XYZxyz(46.4191, 42.5931, 89.7628)
Luminance0.4259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA7F2 #EFF2A7
analogous
#A7C9F2 #AAA7F2 #CFA7F2
triadic
#AAA7F2 #F2AAA7 #A7F2AA
tetradic
#AAA7F2 #F2A7C9 #EFF2A7 #A7F2CF
square
#AAA7F2 #F2A7C9 #EFF2A7 #A7F2CF
split-complementary
#AAA7F2 #F2CFA7 #C9F2A7
monochromatic
#433CE2 #7672EA #AAA7F2 #DEDCFA #E5E4FB

Accessibility & contrast

On white

2.21
#AAA7F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#AAA7F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA7F2
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA7F2#FFFFFF#000000##000000
##AAA7F21.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#92B1F5
Deuteranopia (green-blind)
#90ACF0
Tritanopia (blue-blind)
#99B4C2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #aaa7f2;
/* rgb */ color: rgb(170, 167, 242);
/* oklch */ color: oklch(75.9% 0.107 285.4);
Tailwind
colors: {
  custom: {
    50: '#c5c1f6',
    500: '#aaa7f2',
    950: '#000000',
  },
}
SCSS
$custom: #aaa7f2;
$custom-light: #c5c1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa7f2",
  "rgb": {
    "r": 170,
    "g": 167,
    "b": 242
  },
  "hsl": {
    "h": 242.4,
    "s": 74.257,
    "l": 80.196
  },
  "oklch": {
    "l": 0.75907,
    "c": 0.10676,
    "h": 285.4
  },
  "luminance": 0.42594
}

Semantic roles & 50–950 ramp

primary
#AAA7F2
secondary
#F2F3D8
accent
#D60FCE
background
#FCFBFF
surface
#F8F7FE
border
#D1D0D6
text
#131217
muted
#828185

Preview Lab

Preview with #AAA7F2

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

Preview Lab → · Contrast checker → · Palette generator →

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