#A6A1FB#A6A1FB

#A6A1FB is a light, vivid blue. Relative luminance 0.406; OKLCH L 74.9% C 0.128 H 285.4°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#A6A1FB
RGBrgb(166, 161, 251)
HSLhsl(243, 92%, 81%)
HSVhsv(243, 36%, 98%)
CMYKcmyk(33.9%, 35.9%, 0%, 1.6%)
CIE-LABlab(69.87, 22.10, -44.17)
CIE-LCHlch(69.87, 49.39, 296.58°)
OKLaboklab(74.87% 0.034 -0.1235)
OKLCHoklch(74.87% 0.128 285.4)
XYZxyz(45.8786, 40.5604, 96.6598)
Luminance0.4056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A1FB #F6FBA1
analogous
#A1C9FB #A6A1FB #D3A1FB
triadic
#A6A1FB #FBA6A1 #A1FBA6
tetradic
#A6A1FB #FBA1C9 #F6FBA1 #A1FBD3
square
#A6A1FB #FBA1C9 #F6FBA1 #A1FBD3
split-complementary
#A6A1FB #FBD3A1 #C9FBA1
monochromatic
#372CF6 #6E66F9 #A6A1FB #DEDCFD #E3E2FE

Accessibility & contrast

On white

2.30
#A6A1FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#A6A1FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A1FB
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A1FB#FFFFFF#000000##000000
##A6A1FB1.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ADFF
Deuteranopia (green-blind)
#83A8F9
Tritanopia (blue-blind)
#90B2C2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a6a1fb;
/* rgb */ color: rgb(166, 161, 251);
/* oklch */ color: oklch(74.9% 0.128 285.4);
Tailwind
colors: {
  custom: {
    50: '#c3bcfd',
    500: '#a6a1fb',
    950: '#000000',
  },
}
SCSS
$custom: #a6a1fb;
$custom-light: #c3bcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a1fb",
  "rgb": {
    "r": 166,
    "g": 161,
    "b": 251
  },
  "hsl": {
    "h": 243.333,
    "s": 91.837,
    "l": 80.784
  },
  "oklch": {
    "l": 0.74873,
    "c": 0.12814,
    "h": 285.4
  },
  "luminance": 0.40562
}

Semantic roles & 50–950 ramp

primary
#A6A1FB
secondary
#F4F6D5
accent
#E600D9
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A6A1FB

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

Preview Lab → · Contrast checker → · Palette generator →

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