#AAA1EC#AAA1EC

#AAA1EC is a light, moderate blue. Relative luminance 0.401; OKLCH L 74.5% C 0.107 H 289.0°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#AAA1EC
RGBrgb(170, 161, 236)
HSLhsl(247, 66%, 78%)
HSVhsv(247, 32%, 93%)
CMYKcmyk(28%, 31.8%, 0%, 7.5%)
CIE-LABlab(69.53, 19.45, -36.49)
CIE-LCHlch(69.53, 41.35, 298.05°)
OKLaboklab(74.48% 0.0349 -0.1013)
OKLCHoklch(74.48% 0.107 289)
XYZxyz(44.4589, 40.0910, 84.7366)
Luminance0.4009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AAA1EC #E3ECA1
analogous
#A1BDEC #AAA1EC #CFA1EC
triadic
#AAA1EC #ECAAA1 #A1ECAA
tetradic
#AAA1EC #ECA1BD #E3ECA1 #A1ECCF
square
#AAA1EC #ECA1BD #E3ECA1 #A1ECCF
split-complementary
#AAA1EC #ECCFA1 #BDECA1
monochromatic
#4E3BD7 #7C6EE2 #AAA1EC #D8D4F6 #E8E6FA

Accessibility & contrast

On white

2.33
#AAA1EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#AAA1EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AAA1EC
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AAA1EC#FFFFFF#000000##000000
##AAA1EC1.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DABEF
Deuteranopia (green-blind)
#8CA8EA
Tritanopia (blue-blind)
#9BAEBC
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #aaa1ec;
/* rgb */ color: rgb(170, 161, 236);
/* oklch */ color: oklch(74.5% 0.107 289.0);
Tailwind
colors: {
  custom: {
    50: '#c5bcf2',
    500: '#aaa1ec',
    950: '#000000',
  },
}
SCSS
$custom: #aaa1ec;
$custom-light: #c5bcf2;
$custom-dark: #000000;
JSON
{
  "hex": "#aaa1ec",
  "rgb": {
    "r": 170,
    "g": 161,
    "b": 236
  },
  "hsl": {
    "h": 247.2,
    "s": 66.372,
    "l": 77.843
  },
  "oklch": {
    "l": 0.74483,
    "c": 0.10717,
    "h": 289
  },
  "luminance": 0.40092
}

Semantic roles & 50–950 ramp

primary
#AAA1EC
secondary
#EFF1DA
accent
#CE17B8
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #AAA1EC

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

Preview Lab → · Contrast checker → · Palette generator →

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