#A8A1E9#A8A1E9

#A8A1E9 is a light, moderate blue. Relative luminance 0.397; OKLCH L 74.2% C 0.103 H 288.1°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#A8A1E9
RGBrgb(168, 161, 233)
HSLhsl(246, 62%, 77%)
HSVhsv(246, 31%, 91%)
CMYKcmyk(27.9%, 30.9%, 0%, 8.6%)
CIE-LABlab(69.25, 18.14, -35.30)
CIE-LCHlch(69.25, 39.69, 297.19°)
OKLaboklab(74.19% 0.032 -0.0979)
OKLCHoklch(74.19% 0.103 288.1)
XYZxyz(43.5976, 39.6969, 82.4403)
Luminance0.3970 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A1E9 #E2E9A1
analogous
#A1BEE9 #A8A1E9 #CCA1E9
triadic
#A8A1E9 #E9A8A1 #A1E9A8
tetradic
#A8A1E9 #E9A1BE #E2E9A1 #A1E9CC
square
#A8A1E9 #E9A1BE #E2E9A1 #A1E9CC
split-complementary
#A8A1E9 #E9CCA1 #BEE9A1
monochromatic
#4C3ED2 #7A6FDD #A8A1E9 #D6D3F5 #E8E6F9

Accessibility & contrast

On white

2.35
#A8A1E9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#A8A1E9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A1E9
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A1E9#FFFFFF#000000##000000
##A8A1E91.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DABEC
Deuteranopia (green-blind)
#8DA7E7
Tritanopia (blue-blind)
#99AEBB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a8a1e9;
/* rgb */ color: rgb(168, 161, 233);
/* oklch */ color: oklch(74.2% 0.103 288.1);
Tailwind
colors: {
  custom: {
    50: '#c3bcf0',
    500: '#a8a1e9',
    950: '#000000',
  },
}
SCSS
$custom: #a8a1e9;
$custom-light: #c3bcf0;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a1e9",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 233
  },
  "hsl": {
    "h": 245.833,
    "s": 62.069,
    "l": 77.255
  },
  "oklch": {
    "l": 0.74188,
    "c": 0.10301,
    "h": 288.1
  },
  "luminance": 0.39698
}

Semantic roles & 50–950 ramp

primary
#A8A1E9
secondary
#EEF1DA
accent
#CA1CB9
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #A8A1E9

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

Preview Lab → · Contrast checker → · Palette generator →

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