#A1A2EB#A1A2EB

#A1A2EB is a light, moderate blue. Relative luminance 0.394; OKLCH L 73.9% C 0.105 H 282.9°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#A1A2EB
RGBrgb(161, 162, 235)
HSLhsl(239, 65%, 78%)
HSVhsv(239, 31%, 92%)
CMYKcmyk(31.5%, 31.1%, 0%, 7.8%)
CIE-LABlab(69.05, 16.07, -36.75)
CIE-LCHlch(69.05, 40.11, 293.62°)
OKLaboklab(73.93% 0.0235 -0.1022)
OKLCHoklch(73.93% 0.105 282.9)
XYZxyz(42.6096, 39.4147, 83.9440)
Luminance0.3942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A2EB #EBEAA1
analogous
#A1C7EB #A1A2EB #C5A1EB
triadic
#A1A2EB #EBA1A2 #A2EBA1
tetradic
#A1A2EB #EBA1C7 #EBEAA1 #A1EBC5
square
#A1A2EB #EBA1C7 #EBEAA1 #A1EBC5
split-complementary
#A1A2EB #EBC5A1 #C7EBA1
monochromatic
#3C3ED6 #6F70E0 #A1A2EB #D3D4F6 #E6E6FA

Accessibility & contrast

On white

2.36
#A1A2EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#A1A2EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A2EB
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A2EB#FFFFFF#000000##000000
##A1A2EB1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DABEE
Deuteranopia (green-blind)
#8AA6E9
Tritanopia (blue-blind)
#8EAFBC
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a1a2eb;
/* rgb */ color: rgb(161, 162, 235);
/* oklch */ color: oklch(73.9% 0.105 282.9);
Tailwind
colors: {
  custom: {
    50: '#bebdf1',
    500: '#a1a2eb',
    950: '#000000',
  },
}
SCSS
$custom: #a1a2eb;
$custom-light: #bebdf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a2eb",
  "rgb": {
    "r": 161,
    "g": 162,
    "b": 235
  },
  "hsl": {
    "h": 239.189,
    "s": 64.912,
    "l": 77.647
  },
  "oklch": {
    "l": 0.73926,
    "c": 0.10488,
    "h": 282.9
  },
  "luminance": 0.39416
}

Semantic roles & 50–950 ramp

primary
#A1A2EB
secondary
#F1F1DA
accent
#CA19CD
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121217
muted
#818185

Preview Lab

Preview with #A1A2EB

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

Preview Lab → · Contrast checker → · Palette generator →

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