#A8A1EF#A8A1EF

#A8A1EF is a light, moderate blue. Relative luminance 0.400; OKLCH L 74.5% C 0.111 H 287.5°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#A8A1EF
RGBrgb(168, 161, 239)
HSLhsl(245, 71%, 78%)
HSVhsv(245, 33%, 94%)
CMYKcmyk(29.7%, 32.6%, 0%, 6.3%)
CIE-LABlab(69.50, 19.62, -38.19)
CIE-LCHlch(69.50, 42.94, 297.19°)
OKLaboklab(74.46% 0.0335 -0.1062)
OKLCHoklch(74.46% 0.111 287.5)
XYZxyz(44.4693, 40.0456, 87.0313)
Luminance0.4005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A1EF #E8EFA1
analogous
#A1C1EF #A8A1EF #CFA1EF
triadic
#A8A1EF #EFA8A1 #A1EFA8
tetradic
#A8A1EF #EFA1C1 #E8EFA1 #A1EFCF
square
#A8A1EF #EFA1C1 #E8EFA1 #A1EFCF
split-complementary
#A8A1EF #EFCFA1 #C1EFA1
monochromatic
#4738DD #786DE6 #A8A1EF #D8D5F8 #E7E5FB

Accessibility & contrast

On white

2.33
#A8A1EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#A8A1EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A1EF
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A1EF#FFFFFF#000000##000000
##A8A1EF1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF2
Deuteranopia (green-blind)
#8AA8ED
Tritanopia (blue-blind)
#97AFBD
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8a1ef;
/* rgb */ color: rgb(168, 161, 239);
/* oklch */ color: oklch(74.5% 0.111 287.5);
Tailwind
colors: {
  custom: {
    50: '#c3bcf4',
    500: '#a8a1ef',
    950: '#000000',
  },
}
SCSS
$custom: #a8a1ef;
$custom-light: #c3bcf4;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a1ef",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 239
  },
  "hsl": {
    "h": 245.385,
    "s": 70.909,
    "l": 78.431
  },
  "oklch": {
    "l": 0.74461,
    "c": 0.11138,
    "h": 287.5
  },
  "luminance": 0.40047
}

Semantic roles & 50–950 ramp

primary
#A8A1EF
secondary
#F0F2D9
accent
#D313C2
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #A8A1EF

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

Preview Lab → · Contrast checker → · Palette generator →

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