#A1A8FB#A1A8FB

#A1A8FB is a light, moderate blue. Relative luminance 0.425; OKLCH L 75.8% C 0.119 H 279.5°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#A1A8FB
RGBrgb(161, 168, 251)
HSLhsl(235, 92%, 81%)
HSVhsv(235, 36%, 98%)
CMYKcmyk(35.9%, 33.1%, 0%, 1.6%)
CIE-LABlab(71.25, 16.81, -42.04)
CIE-LCHlch(71.25, 45.28, 291.80°)
OKLaboklab(75.84% 0.0196 -0.1175)
OKLCHoklch(75.84% 0.119 279.5)
XYZxyz(46.1082, 42.5457, 97.0308)
Luminance0.4255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A8FB #FBF4A1
analogous
#A1D5FB #A1A8FB #C7A1FB
triadic
#A1A8FB #FBA1A8 #A8FBA1
tetradic
#A1A8FB #FBA1D5 #FBF4A1 #A1FBC7
square
#A1A8FB #FBA1D5 #FBF4A1 #A1FBC7
split-complementary
#A1A8FB #FBC7A1 #D5FBA1
monochromatic
#2C3BF6 #6672F9 #A1A8FB #DCDEFD #E2E4FE

Accessibility & contrast

On white

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

On black

9.51
#A1A8FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A8FB
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A8FB#FFFFFF#000000##000000
##A1A8FB1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FE
Deuteranopia (green-blind)
#88ABF9
Tritanopia (blue-blind)
#88B8C6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a1a8fb;
/* rgb */ color: rgb(161, 168, 251);
/* oklch */ color: oklch(75.8% 0.119 279.5);
Tailwind
colors: {
  custom: {
    50: '#bfc1fd',
    500: '#a1a8fb',
    950: '#000000',
  },
}
SCSS
$custom: #a1a8fb;
$custom-light: #bfc1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a8fb",
  "rgb": {
    "r": 161,
    "g": 168,
    "b": 251
  },
  "hsl": {
    "h": 235.333,
    "s": 91.837,
    "l": 80.784
  },
  "oklch": {
    "l": 0.75841,
    "c": 0.11909,
    "h": 279.5
  },
  "luminance": 0.42547
}

Semantic roles & 50–950 ramp

primary
#A1A8FB
secondary
#F6F3D5
accent
#D400E6
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#121217
muted
#818185

Preview Lab

Preview with #A1A8FB

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

Preview Lab → · Contrast checker → · Palette generator →

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