#A8A1F9#A8A1F9

#A8A1F9 is a light, vivid blue. Relative luminance 0.407; OKLCH L 74.9% C 0.125 H 286.6°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#A8A1F9
RGBrgb(168, 161, 249)
HSLhsl(245, 88%, 80%)
HSVhsv(245, 35%, 98%)
CMYKcmyk(32.5%, 35.3%, 0%, 2.4%)
CIE-LABlab(69.93, 22.13, -42.97)
CIE-LCHlch(69.93, 48.33, 297.25°)
OKLaboklab(74.93% 0.0358 -0.12)
OKLCHoklch(74.93% 0.125 286.6)
XYZxyz(45.9876, 40.6529, 95.0280)
Luminance0.4065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A1F9 #F2F9A1
analogous
#A1C6F9 #A8A1F9 #D4A1F9
triadic
#A8A1F9 #F9A8A1 #A1F9A8
tetradic
#A8A1F9 #F9A1C6 #F2F9A1 #A1F9D4
square
#A8A1F9 #F9A1C6 #F2F9A1 #A1F9D4
split-complementary
#A8A1F9 #F9D4A1 #C6F9A1
monochromatic
#3E2EF2 #7367F5 #A8A1F9 #DDDBFD #E4E2FD

Accessibility & contrast

On white

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

On black

9.13
#A8A1F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A1F9
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A1F9#FFFFFF#000000##000000
##A8A1F91.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ADFD
Deuteranopia (green-blind)
#85A9F7
Tritanopia (blue-blind)
#94B1C1
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8a1f9;
/* rgb */ color: rgb(168, 161, 249);
/* oklch */ color: oklch(74.9% 0.125 286.6);
Tailwind
colors: {
  custom: {
    50: '#c4bcfb',
    500: '#a8a1f9',
    950: '#000000',
  },
}
SCSS
$custom: #a8a1f9;
$custom-light: #c4bcfb;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a1f9",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 249
  },
  "hsl": {
    "h": 244.773,
    "s": 88,
    "l": 80.392
  },
  "oklch": {
    "l": 0.74932,
    "c": 0.12525,
    "h": 286.6
  },
  "luminance": 0.40654
}

Semantic roles & 50–950 ramp

primary
#A8A1F9
secondary
#F3F5D6
accent
#E501D2
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A1F9

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

Preview Lab → · Contrast checker → · Palette generator →

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