#A8A1FC#A8A1FC

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

Color values

HEX#A8A1FC
RGBrgb(168, 161, 252)
HSLhsl(245, 94%, 81%)
HSVhsv(245, 36%, 99%)
CMYKcmyk(33.3%, 36.1%, 0%, 1.2%)
CIE-LABlab(70.06, 22.90, -44.39)
CIE-LCHlch(70.06, 49.95, 297.28°)
OKLaboklab(75.08% 0.0364 -0.1241)
OKLCHoklch(75.08% 0.129 286.4)
XYZxyz(46.4593, 40.8416, 97.5120)
Luminance0.4084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A1FC #F5FCA1
analogous
#A1C7FC #A8A1FC #D5A1FC
triadic
#A8A1FC #FCA8A1 #A1FCA8
tetradic
#A8A1FC #FCA1C7 #F5FCA1 #A1FCD5
square
#A8A1FC #FCA1C7 #F5FCA1 #A1FCD5
split-complementary
#A8A1FC #FCD5A1 #C7FCA1
monochromatic
#3A2AF8 #7166FA #A8A1FC #DFDCFE #E4E1FE

Accessibility & contrast

On white

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

On black

9.17
#A8A1FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A1FC
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A1FC#FFFFFF#000000##000000
##A8A1FC1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AEFF
Deuteranopia (green-blind)
#83A9FA
Tritanopia (blue-blind)
#93B2C3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8a1fc;
/* rgb */ color: rgb(168, 161, 252);
/* oklch */ color: oklch(75.1% 0.129 286.4);
Tailwind
colors: {
  custom: {
    50: '#c4bcfd',
    500: '#a8a1fc',
    950: '#000000',
  },
}
SCSS
$custom: #a8a1fc;
$custom-light: #c4bcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a1fc",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 252
  },
  "hsl": {
    "h": 244.615,
    "s": 93.814,
    "l": 80.98
  },
  "oklch": {
    "l": 0.75077,
    "c": 0.12938,
    "h": 286.4
  },
  "luminance": 0.40843
}

Semantic roles & 50–950 ramp

primary
#A8A1FC
secondary
#F4F6D5
accent
#E600D4
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #A8A1FC

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

Preview Lab → · Contrast checker → · Palette generator →

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