#A1A2F9#A1A2F9

#A1A2F9 is a light, vivid blue. Relative luminance 0.403; OKLCH L 74.6% C 0.124 H 282.4°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#A1A2F9
RGBrgb(161, 162, 249)
HSLhsl(239, 88%, 80%)
HSVhsv(239, 35%, 98%)
CMYKcmyk(35.3%, 34.9%, 0%, 2.4%)
CIE-LABlab(69.65, 19.68, -43.45)
CIE-LCHlch(69.65, 47.70, 294.37°)
OKLaboklab(74.59% 0.0268 -0.1215)
OKLCHoklch(74.59% 0.124 282.4)
XYZxyz(44.7124, 40.2558, 95.0185)
Luminance0.4026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A2F9 #F9F8A1
analogous
#A1CEF9 #A1A2F9 #CCA1F9
triadic
#A1A2F9 #F9A1A2 #A2F9A1
tetradic
#A1A2F9 #F9A1CE #F9F8A1 #A1F9CC
square
#A1A2F9 #F9A1CE #F9F8A1 #A1F9CC
split-complementary
#A1A2F9 #F9CCA1 #CEF9A1
monochromatic
#2E30F2 #6769F5 #A1A2F9 #DBDBFD #E2E3FD

Accessibility & contrast

On white

2.32
#A1A2F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#A1A2F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A2F9
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A2F9#FFFFFF#000000##000000
##A1A2F91.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ADFC
Deuteranopia (green-blind)
#83A7F7
Tritanopia (blue-blind)
#89B3C2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a1a2f9;
/* rgb */ color: rgb(161, 162, 249);
/* oklch */ color: oklch(74.6% 0.124 282.4);
Tailwind
colors: {
  custom: {
    50: '#bfbdfb',
    500: '#a1a2f9',
    950: '#000000',
  },
}
SCSS
$custom: #a1a2f9;
$custom-light: #bfbdfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a2f9",
  "rgb": {
    "r": 161,
    "g": 162,
    "b": 249
  },
  "hsl": {
    "h": 239.318,
    "s": 88,
    "l": 80.392
  },
  "oklch": {
    "l": 0.74586,
    "c": 0.12447,
    "h": 282.4
  },
  "luminance": 0.40257
}

Semantic roles & 50–950 ramp

primary
#A1A2F9
secondary
#F5F5D6
accent
#E201E5
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#121217
muted
#818185

Preview Lab

Preview with #A1A2F9

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

Preview Lab → · Contrast checker → · Palette generator →

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