#A8A1FB#A8A1FB

#A8A1FB is a light, vivid blue. Relative luminance 0.408; OKLCH L 75.0% C 0.128 H 286.4°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#A8A1FB
RGBrgb(168, 161, 251)
HSLhsl(245, 92%, 81%)
HSVhsv(245, 36%, 98%)
CMYKcmyk(33.1%, 35.9%, 0%, 1.6%)
CIE-LABlab(70.02, 22.64, -43.92)
CIE-LCHlch(70.02, 49.41, 297.27°)
OKLaboklab(75.03% 0.0362 -0.1228)
OKLCHoklch(75.03% 0.128 286.4)
XYZxyz(46.3012, 40.7783, 96.6796)
Luminance0.4078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A1FB #F4FBA1
analogous
#A1C7FB #A8A1FB #D5A1FB
triadic
#A8A1FB #FBA8A1 #A1FBA8
tetradic
#A8A1FB #FBA1C7 #F4FBA1 #A1FBD5
square
#A8A1FB #FBA1C7 #F4FBA1 #A1FBD5
split-complementary
#A8A1FB #FBD5A1 #C7FBA1
monochromatic
#3B2CF6 #7266F9 #A8A1FB #DEDCFD #E4E2FE

Accessibility & contrast

On white

2.29
#A8A1FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#A8A1FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A1FB
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A1FB#FFFFFF#000000##000000
##A8A1FB1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#84A9F9
Tritanopia (blue-blind)
#93B2C2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8a1fb;
/* rgb */ color: rgb(168, 161, 251);
/* oklch */ color: oklch(75.0% 0.128 286.4);
Tailwind
colors: {
  custom: {
    50: '#c4bcfd',
    500: '#a8a1fb',
    950: '#000000',
  },
}
SCSS
$custom: #a8a1fb;
$custom-light: #c4bcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a1fb",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 251
  },
  "hsl": {
    "h": 244.667,
    "s": 91.837,
    "l": 80.784
  },
  "oklch": {
    "l": 0.75029,
    "c": 0.128,
    "h": 286.4
  },
  "luminance": 0.4078
}

Semantic roles & 50–950 ramp

primary
#A8A1FB
secondary
#F3F6D5
accent
#E600D4
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A1FB

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

Preview Lab → · Contrast checker → · Palette generator →

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