#A8A1FE#A8A1FE

#A8A1FE is a light, vivid blue. Relative luminance 0.410; OKLCH L 75.2% C 0.132 H 286.2°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#A8A1FE
RGBrgb(168, 161, 254)
HSLhsl(245, 98%, 81%)
HSVhsv(245, 37%, 100%)
CMYKcmyk(33.9%, 36.6%, 0%, 0.4%)
CIE-LABlab(70.15, 23.41, -45.34)
CIE-LCHlch(70.15, 51.02, 297.31°)
OKLaboklab(75.18% 0.0369 -0.1269)
OKLCHoklch(75.18% 0.132 286.2)
XYZxyz(46.7779, 40.9690, 99.1899)
Luminance0.4097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A1FE #F7FEA1
analogous
#A1C9FE #A8A1FE #D7A1FE
triadic
#A8A1FE #FEA8A1 #A1FEA8
tetradic
#A8A1FE #FEA1C9 #F7FEA1 #A1FED7
square
#A8A1FE #FEA1C9 #F7FEA1 #A1FED7
split-complementary
#A8A1FE #FED7A1 #C9FEA1
monochromatic
#3828FD #7064FD #A8A1FE #E0DEFF #E3E1FF

Accessibility & contrast

On white

2.28
#A8A1FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#A8A1FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A1FE
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A1FE#FFFFFF#000000##000000
##A8A1FE1.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AEFF
Deuteranopia (green-blind)
#82A9FC
Tritanopia (blue-blind)
#92B2C4
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8a1fe;
/* rgb */ color: rgb(168, 161, 254);
/* oklch */ color: oklch(75.2% 0.132 286.2);
Tailwind
colors: {
  custom: {
    50: '#c4bcff',
    500: '#a8a1fe',
    950: '#000000',
  },
}
SCSS
$custom: #a8a1fe;
$custom-light: #c4bcff;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a1fe",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 254
  },
  "hsl": {
    "h": 244.516,
    "s": 97.895,
    "l": 81.373
  },
  "oklch": {
    "l": 0.75175,
    "c": 0.13213,
    "h": 286.2
  },
  "luminance": 0.4097
}

Semantic roles & 50–950 ramp

primary
#A8A1FE
secondary
#F4F7D4
accent
#E600D4
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #A8A1FE

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

Preview Lab → · Contrast checker → · Palette generator →

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