#A8A1FA#A8A1FA

#A8A1FA is a light, vivid blue. Relative luminance 0.407; OKLCH L 75.0% C 0.127 H 286.5°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#A8A1FA
RGBrgb(168, 161, 250)
HSLhsl(245, 90%, 81%)
HSVhsv(245, 36%, 98%)
CMYKcmyk(32.8%, 35.6%, 0%, 2%)
CIE-LABlab(69.98, 22.39, -43.45)
CIE-LCHlch(69.98, 48.87, 297.26°)
OKLaboklab(74.98% 0.036 -0.1214)
OKLCHoklch(74.98% 0.127 286.5)
XYZxyz(46.1440, 40.7155, 95.8516)
Luminance0.4072 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A1FA #F3FAA1
analogous
#A1C6FA #A8A1FA #D4A1FA
triadic
#A8A1FA #FAA8A1 #A1FAA8
tetradic
#A8A1FA #FAA1C6 #F3FAA1 #A1FAD4
square
#A8A1FA #FAA1C6 #F3FAA1 #A1FAD4
split-complementary
#A8A1FA #FAD4A1 #C6FAA1
monochromatic
#3C2DF4 #7267F7 #A8A1FA #DEDBFD #E4E2FD

Accessibility & contrast

On white

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

On black

9.14
#A8A1FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A1FA
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A1FA#FFFFFF#000000##000000
##A8A1FA1.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ADFE
Deuteranopia (green-blind)
#84A9F8
Tritanopia (blue-blind)
#93B1C2
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8a1fa;
/* rgb */ color: rgb(168, 161, 250);
/* oklch */ color: oklch(75.0% 0.127 286.5);
Tailwind
colors: {
  custom: {
    50: '#c4bcfc',
    500: '#a8a1fa',
    950: '#000000',
  },
}
SCSS
$custom: #a8a1fa;
$custom-light: #c4bcfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a1fa",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 250
  },
  "hsl": {
    "h": 244.719,
    "s": 89.899,
    "l": 80.588
  },
  "oklch": {
    "l": 0.7498,
    "c": 0.12663,
    "h": 286.5
  },
  "luminance": 0.40717
}

Semantic roles & 50–950 ramp

primary
#A8A1FA
secondary
#F3F6D5
accent
#E600D3
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A1FA

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

Preview Lab → · Contrast checker → · Palette generator →

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