#A1A5FE#A1A5FE

#A1A5FE is a light, vivid blue. Relative luminance 0.416; OKLCH L 75.4% C 0.127 H 280.9°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#A1A5FE
RGBrgb(161, 165, 254)
HSLhsl(237, 98%, 81%)
HSVhsv(237, 37%, 100%)
CMYKcmyk(36.6%, 35%, 0%, 0.4%)
CIE-LABlab(70.62, 19.29, -44.64)
CIE-LCHlch(70.62, 48.63, 293.38°)
OKLaboklab(75.41% 0.0241 -0.125)
OKLCHoklch(75.41% 0.127 280.9)
XYZxyz(46.0374, 41.6414, 99.3586)
Luminance0.4164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A5FE #FEFAA1
analogous
#A1D4FE #A1A5FE #CCA1FE
triadic
#A1A5FE #FEA1A5 #A5FEA1
tetradic
#A1A5FE #FEA1D4 #FEFAA1 #A1FECC
square
#A1A5FE #FEA1D4 #FEFAA1 #A1FECC
split-complementary
#A1A5FE #FECCA1 #D4FEA1
monochromatic
#2831FD #646BFD #A1A5FE #DEDFFF #E1E2FF

Accessibility & contrast

On white

2.25
#A1A5FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#A1A5FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A5FE
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A5FE#FFFFFF#000000##000000
##A1A5FE1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88B0FF
Deuteranopia (green-blind)
#83AAFC
Tritanopia (blue-blind)
#87B6C6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a1a5fe;
/* rgb */ color: rgb(161, 165, 254);
/* oklch */ color: oklch(75.4% 0.127 280.9);
Tailwind
colors: {
  custom: {
    50: '#c0bfff',
    500: '#a1a5fe',
    950: '#000000',
  },
}
SCSS
$custom: #a1a5fe;
$custom-light: #c0bfff;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a5fe",
  "rgb": {
    "r": 161,
    "g": 165,
    "b": 254
  },
  "hsl": {
    "h": 237.419,
    "s": 97.895,
    "l": 81.373
  },
  "oklch": {
    "l": 0.75405,
    "c": 0.12729,
    "h": 280.9
  },
  "luminance": 0.41643
}

Semantic roles & 50–950 ramp

primary
#A1A5FE
secondary
#F7F5D4
accent
#DC00E6
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#121218
muted
#818186

Preview Lab

Preview with #A1A5FE

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

Preview Lab → · Contrast checker → · Palette generator →

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