#A1B7FA#A1B7FA

#A1B7FA is a light, moderate blue. Relative luminance 0.483; OKLCH L 78.8% C 0.099 H 270.0°. Best body text is #000000 at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#A1B7FA
RGBrgb(161, 183, 250)
HSLhsl(225, 90%, 81%)
HSVhsv(225, 36%, 98%)
CMYKcmyk(35.6%, 26.8%, 0%, 2%)
CIE-LABlab(75.04, 8.18, -35.59)
CIE-LCHlch(75.04, 36.52, 282.94°)
OKLaboklab(78.77% 0.0001 -0.0989)
OKLCHoklch(78.77% 0.099 270)
XYZxyz(48.8817, 48.3441, 97.1797)
Luminance0.4835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B7FA #FAE4A1
analogous
#A1E3FA #A1B7FA #B7A1FA
triadic
#A1B7FA #FAA1B7 #B7FAA1
tetradic
#A1B7FA #FAA1E3 #FAE4A1 #A1FAB7
square
#A1B7FA #FAA1E3 #FAE4A1 #A1FAB7
split-complementary
#A1B7FA #FAB7A1 #E3FAA1
monochromatic
#2D5EF4 #678AF7 #A1B7FA #DBE4FD #E2E9FD

Accessibility & contrast

On white

1.97
#A1B7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.67
#A1B7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B7FA
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B7FA#FFFFFF#000000##000000
##A1B7FA1.001.9710.6710.67
#FFFFFF1.971.0021.0021.00
#00000010.6721.001.001.00
##00000010.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BDFD
Deuteranopia (green-blind)
#99B5F8
Tritanopia (blue-blind)
#86C4CE
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #a1b7fa;
/* rgb */ color: rgb(161, 183, 250);
/* oklch */ color: oklch(78.8% 0.099 270.0);
Tailwind
colors: {
  custom: {
    50: '#bfccfc',
    500: '#a1b7fa',
    950: '#000000',
  },
}
SCSS
$custom: #a1b7fa;
$custom-light: #bfccfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b7fa",
  "rgb": {
    "r": 161,
    "g": 183,
    "b": 250
  },
  "hsl": {
    "h": 225.169,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.78767,
    "c": 0.09892,
    "h": 270
  },
  "luminance": 0.48346
}

Semantic roles & 50–950 ramp

primary
#A1B7FA
secondary
#F6EED5
accent
#AD00E6
background
#FBFCFF
surface
#F7F8FF
border
#D0D1D7
text
#121317
muted
#818285

Preview Lab

Preview with #A1B7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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