#A1A2FC#A1A2FC

#A1A2FC is a light, vivid blue. Relative luminance 0.404; OKLCH L 74.7% C 0.129 H 282.3°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#A1A2FC
RGBrgb(161, 162, 252)
HSLhsl(239, 94%, 81%)
HSVhsv(239, 36%, 99%)
CMYKcmyk(36.1%, 35.7%, 0%, 1.2%)
CIE-LABlab(69.78, 20.47, -44.87)
CIE-LCHlch(69.78, 49.32, 294.52°)
OKLaboklab(74.73% 0.0275 -0.1257)
OKLCHoklch(74.73% 0.129 282.3)
XYZxyz(45.1840, 40.4444, 97.5025)
Luminance0.4045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A2FC #FCFBA1
analogous
#A1CFFC #A1A2FC #CDA1FC
triadic
#A1A2FC #FCA1A2 #A2FCA1
tetradic
#A1A2FC #FCA1CF #FCFBA1 #A1FCCD
square
#A1A2FC #FCA1CF #FCFBA1 #A1FCCD
split-complementary
#A1A2FC #FCCDA1 #CFFCA1
monochromatic
#2A2DF8 #6667FA #A1A2FC #DCDDFE #E1E2FE

Accessibility & contrast

On white

2.31
#A1A2FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#A1A2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A2FC
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A2FC#FFFFFF#000000##000000
##A1A2FC1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AEFF
Deuteranopia (green-blind)
#81A7FA
Tritanopia (blue-blind)
#88B3C3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a1a2fc;
/* rgb */ color: rgb(161, 162, 252);
/* oklch */ color: oklch(74.7% 0.129 282.3);
Tailwind
colors: {
  custom: {
    50: '#bfbdfd',
    500: '#a1a2fc',
    950: '#000000',
  },
}
SCSS
$custom: #a1a2fc;
$custom-light: #bfbdfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a2fc",
  "rgb": {
    "r": 161,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 239.341,
    "s": 93.814,
    "l": 80.98
  },
  "oklch": {
    "l": 0.74732,
    "c": 0.12863,
    "h": 282.3
  },
  "luminance": 0.40446
}

Semantic roles & 50–950 ramp

primary
#A1A2FC
secondary
#F6F6D5
accent
#E300E6
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#121218
muted
#818186

Preview Lab

Preview with #A1A2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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