#A6A1FA#A6A1FA

#A6A1FA is a light, vivid blue. Relative luminance 0.405; OKLCH L 74.8% C 0.127 H 285.5°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#A6A1FA
RGBrgb(166, 161, 250)
HSLhsl(243, 90%, 81%)
HSVhsv(243, 36%, 98%)
CMYKcmyk(33.6%, 35.6%, 0%, 2%)
CIE-LABlab(69.82, 21.85, -43.70)
CIE-LCHlch(69.82, 48.85, 296.56°)
OKLaboklab(74.83% 0.0338 -0.1222)
OKLCHoklch(74.83% 0.127 285.5)
XYZxyz(45.7214, 40.4975, 95.8318)
Luminance0.4050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A1FA #F5FAA1
analogous
#A1C8FA #A6A1FA #D2A1FA
triadic
#A6A1FA #FAA6A1 #A1FAA6
tetradic
#A6A1FA #FAA1C8 #F5FAA1 #A1FAD2
square
#A6A1FA #FAA1C8 #F5FAA1 #A1FAD2
split-complementary
#A6A1FA #FAD2A1 #C8FAA1
monochromatic
#382DF4 #6F67F7 #A6A1FA #DDDBFD #E3E2FD

Accessibility & contrast

On white

2.31
#A6A1FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#A6A1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A1FA
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A1FA#FFFFFF#000000##000000
##A6A1FA1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ADFE
Deuteranopia (green-blind)
#84A8F8
Tritanopia (blue-blind)
#90B2C2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a6a1fa;
/* rgb */ color: rgb(166, 161, 250);
/* oklch */ color: oklch(74.8% 0.127 285.5);
Tailwind
colors: {
  custom: {
    50: '#c3bcfc',
    500: '#a6a1fa',
    950: '#000000',
  },
}
SCSS
$custom: #a6a1fa;
$custom-light: #c3bcfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a1fa",
  "rgb": {
    "r": 166,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 243.371,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.74825,
    "c": 0.12676,
    "h": 285.5
  },
  "luminance": 0.40499
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6A1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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