#A1BAFA#A1BAFA

#A1BAFA is a light, moderate blue. Relative luminance 0.496; OKLCH L 79.4% C 0.096 H 267.7°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#A1BAFA
RGBrgb(161, 186, 250)
HSLhsl(223, 90%, 81%)
HSVhsv(223, 36%, 98%)
CMYKcmyk(35.6%, 25.6%, 0%, 2%)
CIE-LABlab(75.82, 6.52, -34.39)
CIE-LCHlch(75.82, 35.00, 280.74°)
OKLaboklab(79.37% -0.0038 -0.0955)
OKLCHoklch(79.37% 0.096 267.7)
XYZxyz(49.5070, 49.5949, 97.3882)
Luminance0.4960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1BAFA #FAE1A1
analogous
#A1E6FA #A1BAFA #B4A1FA
triadic
#A1BAFA #FAA1BA #BAFAA1
tetradic
#A1BAFA #FAA1E6 #FAE1A1 #A1FAB4
square
#A1BAFA #FAA1E6 #FAE1A1 #A1FAB4
split-complementary
#A1BAFA #FAB4A1 #E6FAA1
monochromatic
#2D65F4 #678FF7 #A1BAFA #DBE5FD #E2EAFD

Accessibility & contrast

On white

1.92
#A1BAFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.92
#A1BAFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1BAFA
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1BAFA#FFFFFF#000000##000000
##A1BAFA1.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5BFFD
Deuteranopia (green-blind)
#9DB7F9
Tritanopia (blue-blind)
#86C7D0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #a1bafa;
/* rgb */ color: rgb(161, 186, 250);
/* oklch */ color: oklch(79.4% 0.096 267.7);
Tailwind
colors: {
  custom: {
    50: '#bfcefc',
    500: '#a1bafa',
    950: '#000000',
  },
}
SCSS
$custom: #a1bafa;
$custom-light: #bfcefc;
$custom-dark: #000000;
JSON
{
  "hex": "#a1bafa",
  "rgb": {
    "r": 161,
    "g": 186,
    "b": 250
  },
  "hsl": {
    "h": 223.146,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.79373,
    "c": 0.09555,
    "h": 267.7
  },
  "luminance": 0.49597
}

Semantic roles & 50–950 ramp

primary
#A1BAFA
secondary
#F6EDD5
accent
#A500E6
background
#FBFCFF
surface
#F7F9FF
border
#D0D2D7
text
#121317
muted
#818285

Preview Lab

Preview with #A1BAFA

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

Preview Lab → · Contrast checker → · Palette generator →

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