#A1A2E7#A1A2E7

#A1A2E7 is a light, moderate blue. Relative luminance 0.392; OKLCH L 73.7% C 0.099 H 283.0°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#A1A2E7
RGBrgb(161, 162, 231)
HSLhsl(239, 59%, 77%)
HSVhsv(239, 30%, 91%)
CMYKcmyk(30.3%, 29.9%, 0%, 9.4%)
CIE-LABlab(68.89, 15.07, -34.82)
CIE-LCHlch(68.89, 37.94, 293.40°)
OKLaboklab(73.74% 0.0224 -0.0967)
OKLCHoklch(73.74% 0.099 283)
XYZxyz(42.0382, 39.1861, 80.9346)
Luminance0.3919 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A2E7 #E7E6A1
analogous
#A1C5E7 #A1A2E7 #C3A1E7
triadic
#A1A2E7 #E7A1A2 #A2E7A1
tetradic
#A1A2E7 #E7A1C5 #E7E6A1 #A1E7C3
square
#A1A2E7 #E7A1C5 #E7E6A1 #A1E7C3
split-complementary
#A1A2E7 #E7C3A1 #C5E7A1
monochromatic
#3F42CE #7072DB #A1A2E7 #D2D2F3 #E7E7F9

Accessibility & contrast

On white

2.38
#A1A2E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#A1A2E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A2E7
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A2E7#FFFFFF#000000##000000
##A1A2E71.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAAEA
Deuteranopia (green-blind)
#8BA6E5
Tritanopia (blue-blind)
#90AFBB
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a1a2e7;
/* rgb */ color: rgb(161, 162, 231);
/* oklch */ color: oklch(73.7% 0.099 283.0);
Tailwind
colors: {
  custom: {
    50: '#bebdef',
    500: '#a1a2e7',
    950: '#000000',
  },
}
SCSS
$custom: #a1a2e7;
$custom-light: #bebdef;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a2e7",
  "rgb": {
    "r": 161,
    "g": 162,
    "b": 231
  },
  "hsl": {
    "h": 239.143,
    "s": 59.322,
    "l": 76.863
  },
  "oklch": {
    "l": 0.73744,
    "c": 0.09922,
    "h": 283
  },
  "luminance": 0.39187
}

Semantic roles & 50–950 ramp

primary
#A1A2E7
secondary
#F0F0DB
accent
#C51FC7
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A1A2E7

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

Preview Lab → · Contrast checker → · Palette generator →

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