#A8A1F1#A8A1F1

#A8A1F1 is a light, moderate blue. Relative luminance 0.402; OKLCH L 74.6% C 0.114 H 287.3°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#A8A1F1
RGBrgb(168, 161, 241)
HSLhsl(245, 74%, 79%)
HSVhsv(245, 33%, 95%)
CMYKcmyk(30.3%, 33.2%, 0%, 5.5%)
CIE-LABlab(69.59, 20.12, -39.15)
CIE-LCHlch(69.59, 44.02, 297.19°)
OKLaboklab(74.55% 0.0339 -0.109)
OKLCHoklch(74.55% 0.114 287.3)
XYZxyz(44.7664, 40.1644, 88.5959)
Luminance0.4017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A1F1 #EAF1A1
analogous
#A1C2F1 #A8A1F1 #D0A1F1
triadic
#A8A1F1 #F1A8A1 #A1F1A8
tetradic
#A8A1F1 #F1A1C2 #EAF1A1 #A1F1D0
square
#A8A1F1 #F1A1C2 #EAF1A1 #A1F1D0
split-complementary
#A8A1F1 #F1D0A1 #C2F1A1
monochromatic
#4536E1 #776CE9 #A8A1F1 #D9D6F9 #E6E4FB

Accessibility & contrast

On white

2.32
#A8A1F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#A8A1F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A1F1
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A1F1#FFFFFF#000000##000000
##A8A1F11.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AACF4
Deuteranopia (green-blind)
#89A8EF
Tritanopia (blue-blind)
#96AFBE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8a1f1;
/* rgb */ color: rgb(168, 161, 241);
/* oklch */ color: oklch(74.6% 0.114 287.3);
Tailwind
colors: {
  custom: {
    50: '#c3bcf6',
    500: '#a8a1f1',
    950: '#000000',
  },
}
SCSS
$custom: #a8a1f1;
$custom-light: #c3bcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a1f1",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 241
  },
  "hsl": {
    "h": 245.25,
    "s": 74.074,
    "l": 78.824
  },
  "oklch": {
    "l": 0.74554,
    "c": 0.11417,
    "h": 287.3
  },
  "luminance": 0.40165
}

Semantic roles & 50–950 ramp

primary
#A8A1F1
secondary
#F0F3D8
accent
#D60FC5
background
#FCFBFF
surface
#F8F6FE
border
#D1D0D6
text
#131217
muted
#828185

Preview Lab

Preview with #A8A1F1

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

Preview Lab → · Contrast checker → · Palette generator →

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