#A5A1CD#A5A1CD

#A5A1CD is a light, moderate blue. Relative luminance 0.379; OKLCH L 72.8% C 0.063 H 288.9°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#A5A1CD
RGBrgb(165, 161, 205)
HSLhsl(245, 31%, 72%)
HSVhsv(245, 21%, 80%)
CMYKcmyk(19.5%, 21.5%, 0%, 19.6%)
CIE-LABlab(67.94, 10.60, -21.92)
CIE-LCHlch(67.94, 24.35, 295.81°)
OKLaboklab(72.76% 0.0205 -0.0599)
OKLCHoklch(72.76% 0.063 288.9)
XYZxyz(39.2788, 37.8964, 62.9911)
Luminance0.3790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5A1CD #C9CDA1
analogous
#A1B3CD #A5A1CD #BBA1CD
triadic
#A5A1CD #CDA5A1 #A1CDA5
tetradic
#A5A1CD #CDA1B3 #C9CDA1 #A1CDBB
square
#A5A1CD #CDA1B3 #C9CDA1 #A1CDBB
split-complementary
#A5A1CD #CDBBA1 #B3CDA1
monochromatic
#5B559F #7F79B8 #A5A1CD #CBC9E2 #ECEBF4

Accessibility & contrast

On white

2.45
#A5A1CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#A5A1CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5A1CD
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5A1CD#FFFFFF#000000##000000
##A5A1CD1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A7CF
Deuteranopia (green-blind)
#96A5CC
Tritanopia (blue-blind)
#9DA8B0
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a5a1cd;
/* rgb */ color: rgb(165, 161, 205);
/* oklch */ color: oklch(72.8% 0.063 288.9);
Tailwind
colors: {
  custom: {
    50: '#c0bcdc',
    500: '#a5a1cd',
    950: '#000000',
  },
}
SCSS
$custom: #a5a1cd;
$custom-light: #c0bcdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a5a1cd",
  "rgb": {
    "r": 165,
    "g": 161,
    "b": 205
  },
  "hsl": {
    "h": 245.455,
    "s": 30.556,
    "l": 71.765
  },
  "oklch": {
    "l": 0.72764,
    "c": 0.06336,
    "h": 288.9
  },
  "luminance": 0.37897
}

Semantic roles & 50–950 ramp

primary
#A5A1CD
secondary
#E9EADF
accent
#A93C9F
background
#FBFBFD
surface
#F7F6FB
border
#D0D0D4
text
#121215
muted
#818183

Preview Lab

Preview with #A5A1CD

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

Preview Lab → · Contrast checker → · Palette generator →

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