#A1A7FA#A1A7FA

#A1A7FA is a light, moderate blue. Relative luminance 0.421; OKLCH L 75.6% C 0.119 H 280.0°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#A1A7FA
RGBrgb(161, 167, 250)
HSLhsl(236, 90%, 81%)
HSVhsv(236, 36%, 98%)
CMYKcmyk(35.6%, 33.2%, 0%, 2%)
CIE-LABlab(70.95, 17.11, -41.96)
CIE-LCHlch(70.95, 45.32, 292.19°)
OKLaboklab(75.6% 0.0206 -0.1172)
OKLCHoklch(75.6% 0.119 280)
XYZxyz(45.7671, 42.1150, 96.1415)
Luminance0.4212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A7FA #FAF4A1
analogous
#A1D3FA #A1A7FA #C7A1FA
triadic
#A1A7FA #FAA1A7 #A7FAA1
tetradic
#A1A7FA #FAA1D3 #FAF4A1 #A1FAC7
square
#A1A7FA #FAA1D3 #FAF4A1 #A1FAC7
split-complementary
#A1A7FA #FAC7A1 #D3FAA1
monochromatic
#2D3AF4 #6771F7 #A1A7FA #DBDDFD #E2E4FD

Accessibility & contrast

On white

2.23
#A1A7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#A1A7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A7FA
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A7FA#FFFFFF#000000##000000
##A1A7FA1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB1FD
Deuteranopia (green-blind)
#88ABF8
Tritanopia (blue-blind)
#88B7C5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a1a7fa;
/* rgb */ color: rgb(161, 167, 250);
/* oklch */ color: oklch(75.6% 0.119 280.0);
Tailwind
colors: {
  custom: {
    50: '#bfc1fc',
    500: '#a1a7fa',
    950: '#000000',
  },
}
SCSS
$custom: #a1a7fa;
$custom-light: #bfc1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a7fa",
  "rgb": {
    "r": 161,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 235.955,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.75599,
    "c": 0.11904,
    "h": 280
  },
  "luminance": 0.42117
}

Semantic roles & 50–950 ramp

primary
#A1A7FA
secondary
#F6F3D5
accent
#D600E6
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#121217
muted
#818185

Preview Lab

Preview with #A1A7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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