#A1A8FA#A1A8FA

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

Color values

HEX#A1A8FA
RGBrgb(161, 168, 250)
HSLhsl(235, 90%, 81%)
HSVhsv(235, 36%, 98%)
CMYKcmyk(35.6%, 32.8%, 0%, 2%)
CIE-LABlab(71.20, 16.55, -41.56)
CIE-LCHlch(71.20, 44.74, 291.71°)
OKLaboklab(75.79% 0.0193 -0.1161)
OKLCHoklch(75.79% 0.118 279.4)
XYZxyz(45.9510, 42.4828, 96.2028)
Luminance0.4248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A8FA #FAF3A1
analogous
#A1D4FA #A1A8FA #C6A1FA
triadic
#A1A8FA #FAA1A8 #A8FAA1
tetradic
#A1A8FA #FAA1D4 #FAF3A1 #A1FAC6
square
#A1A8FA #FAA1D4 #FAF3A1 #A1FAC6
split-complementary
#A1A8FA #FAC6A1 #D4FAA1
monochromatic
#2D3CF4 #6772F7 #A1A8FA #DBDEFD #E2E4FD

Accessibility & contrast

On white

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

On black

9.50
#A1A8FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A8FA
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A8FA#FFFFFF#000000##000000
##A1A8FA1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FD
Deuteranopia (green-blind)
#89ABF8
Tritanopia (blue-blind)
#88B8C6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a1a8fa;
/* rgb */ color: rgb(161, 168, 250);
/* oklch */ color: oklch(75.8% 0.118 279.4);
Tailwind
colors: {
  custom: {
    50: '#bfc1fc',
    500: '#a1a8fa',
    950: '#000000',
  },
}
SCSS
$custom: #a1a8fa;
$custom-light: #bfc1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a8fa",
  "rgb": {
    "r": 161,
    "g": 168,
    "b": 250
  },
  "hsl": {
    "h": 235.281,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.75794,
    "c": 0.1177,
    "h": 279.4
  },
  "luminance": 0.42484
}

Semantic roles & 50–950 ramp

primary
#A1A8FA
secondary
#F6F3D5
accent
#D300E6
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#121217
muted
#818185

Preview Lab

Preview with #A1A8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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