#A1A7DB#A1A7DB

#A1A7DB is a light, moderate blue. Relative luminance 0.403; OKLCH L 74.2% C 0.075 H 279.3°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#A1A7DB
RGBrgb(161, 167, 219)
HSLhsl(234, 45%, 75%)
HSVhsv(234, 26%, 86%)
CMYKcmyk(26.5%, 23.7%, 0%, 14.1%)
CIE-LABlab(69.70, 9.30, -26.97)
CIE-LCHlch(69.70, 28.53, 289.03°)
OKLaboklab(74.22% 0.0121 -0.0743)
OKLCHoklch(74.22% 0.075 279.3)
XYZxyz(41.2995, 40.3280, 72.6122)
Luminance0.4033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A7DB #DBD5A1
analogous
#A1C4DB #A1A7DB #B8A1DB
triadic
#A1A7DB #DBA1A7 #A7DBA1
tetradic
#A1A7DB #DBA1C4 #DBD5A1 #A1DBB8
square
#A1A7DB #DBA1C4 #DBD5A1 #A1DBB8
split-complementary
#A1A7DB #DBB8A1 #C4DBA1
monochromatic
#4854B9 #757ECA #A1A7DB #CDD0EC #E9EAF7

Accessibility & contrast

On white

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

On black

9.07
#A1A7DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A7DB
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A7DB#FFFFFF#000000##000000
##A1A7DB1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#98ACDD
Deuteranopia (green-blind)
#95A8DA
Tritanopia (blue-blind)
#93B0B9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a1a7db;
/* rgb */ color: rgb(161, 167, 219);
/* oklch */ color: oklch(74.2% 0.075 279.3);
Tailwind
colors: {
  custom: {
    50: '#bec1e6',
    500: '#a1a7db',
    950: '#000000',
  },
}
SCSS
$custom: #a1a7db;
$custom-light: #bec1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a7db",
  "rgb": {
    "r": 161,
    "g": 167,
    "b": 219
  },
  "hsl": {
    "h": 233.793,
    "s": 44.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74222,
    "c": 0.07529,
    "h": 279.3
  },
  "luminance": 0.40329
}

Semantic roles & 50–950 ramp

primary
#A1A7DB
secondary
#EDECDE
accent
#A92EB8
background
#FBFBFE
surface
#F7F7FC
border
#D0D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A1A7DB

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

Preview Lab → · Contrast checker → · Palette generator →

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