#A1BAFE#A1BAFE

#A1BAFE is a light, moderate blue. Relative luminance 0.499; OKLCH L 79.5% C 0.101 H 268.5°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#A1BAFE
RGBrgb(161, 186, 254)
HSLhsl(224, 98%, 81%)
HSVhsv(224, 37%, 100%)
CMYKcmyk(36.6%, 26.8%, 0%, 0.4%)
CIE-LABlab(75.98, 7.56, -36.30)
CIE-LCHlch(75.98, 37.07, 281.76°)
OKLaboklab(79.55% -0.0026 -0.1009)
OKLCHoklch(79.55% 0.101 268.5)
XYZxyz(50.1409, 49.8484, 100.7265)
Luminance0.4985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BAFE #FEE5A1
analogous
#A1E9FE #A1BAFE #B7A1FE
triadic
#A1BAFE #FEA1BA #BAFEA1
tetradic
#A1BAFE #FEA1E9 #FEE5A1 #A1FEB7
square
#A1BAFE #FEA1E9 #FEE5A1 #A1FEB7
split-complementary
#A1BAFE #FEB7A1 #E9FEA1
monochromatic
#2861FD #648EFD #A1BAFE #DEE6FF #E1E9FF

Accessibility & contrast

On white

1.91
#A1BAFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#A1BAFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1BAFE
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1BAFE#FFFFFF#000000##000000
##A1BAFE1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3C0FF
Deuteranopia (green-blind)
#9BB8FC
Tritanopia (blue-blind)
#84C8D2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #a1bafe;
/* rgb */ color: rgb(161, 186, 254);
/* oklch */ color: oklch(79.5% 0.101 268.5);
Tailwind
colors: {
  custom: {
    50: '#bfceff',
    500: '#a1bafe',
    950: '#000000',
  },
}
SCSS
$custom: #a1bafe;
$custom-light: #bfceff;
$custom-dark: #000000;
JSON
{
  "hex": "#a1bafe",
  "rgb": {
    "r": 161,
    "g": 186,
    "b": 254
  },
  "hsl": {
    "h": 223.871,
    "s": 97.895,
    "l": 81.373
  },
  "oklch": {
    "l": 0.79546,
    "c": 0.10097,
    "h": 268.5
  },
  "luminance": 0.49851
}

Semantic roles & 50–950 ramp

primary
#A1BAFE
secondary
#F7EED4
accent
#A800E6
background
#FCFCFF
surface
#F8F9FF
border
#D1D2D7
text
#121318
muted
#818286

Preview Lab

Preview with #A1BAFE

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

Preview Lab → · Contrast checker → · Palette generator →

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