#A1A7FD#A1A7FD

#A1A7FD is a light, vivid blue. Relative luminance 0.423; OKLCH L 75.7% C 0.123 H 280.0°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#A1A7FD
RGBrgb(161, 167, 253)
HSLhsl(236, 96%, 81%)
HSVhsv(236, 36%, 99%)
CMYKcmyk(36.4%, 34%, 0%, 0.8%)
CIE-LABlab(71.08, 17.90, -43.38)
CIE-LCHlch(71.08, 46.93, 292.42°)
OKLaboklab(75.74% 0.0213 -0.1213)
OKLCHoklch(75.74% 0.123 280)
XYZxyz(46.2412, 42.3046, 98.6387)
Luminance0.4231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A7FD #FDF7A1
analogous
#A1D5FD #A1A7FD #C9A1FD
triadic
#A1A7FD #FDA1A7 #A7FDA1
tetradic
#A1A7FD #FDA1D5 #FDF7A1 #A1FDC9
square
#A1A7FD #FDA1D5 #FDF7A1 #A1FDC9
split-complementary
#A1A7FD #FDC9A1 #D5FDA1
monochromatic
#2937FA #656FFC #A1A7FD #DDDFFE #E1E3FE

Accessibility & contrast

On white

2.22
#A1A7FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#A1A7FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A7FD
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A7FD#FFFFFF#000000##000000
##A1A7FD1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB1FF
Deuteranopia (green-blind)
#86ABFB
Tritanopia (blue-blind)
#87B8C6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a1a7fd;
/* rgb */ color: rgb(161, 167, 253);
/* oklch */ color: oklch(75.7% 0.123 280.0);
Tailwind
colors: {
  custom: {
    50: '#bfc1fe',
    500: '#a1a7fd',
    950: '#000000',
  },
}
SCSS
$custom: #a1a7fd;
$custom-light: #bfc1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a7fd",
  "rgb": {
    "r": 161,
    "g": 167,
    "b": 253
  },
  "hsl": {
    "h": 236.087,
    "s": 95.833,
    "l": 81.176
  },
  "oklch": {
    "l": 0.75742,
    "c": 0.12321,
    "h": 280
  },
  "luminance": 0.42306
}

Semantic roles & 50–950 ramp

primary
#A1A7FD
secondary
#F7F4D4
accent
#D700E6
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#121218
muted
#818186

Preview Lab

Preview with #A1A7FD

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

Preview Lab → · Contrast checker → · Palette generator →

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