#A8A1E6#A8A1E6

#A8A1E6 is a light, moderate blue. Relative luminance 0.395; OKLCH L 74.1% C 0.099 H 288.4°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#A8A1E6
RGBrgb(168, 161, 230)
HSLhsl(246, 58%, 77%)
HSVhsv(246, 30%, 90%)
CMYKcmyk(27%, 30%, 0%, 9.8%)
CIE-LABlab(69.13, 17.41, -33.84)
CIE-LCHlch(69.13, 38.06, 297.21°)
OKLaboklab(74.05% 0.0312 -0.0938)
OKLCHoklch(74.05% 0.099 288.4)
XYZxyz(43.1727, 39.5269, 80.2024)
Luminance0.3953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A1E6 #DFE6A1
analogous
#A1BDE6 #A8A1E6 #CBA1E6
triadic
#A8A1E6 #E6A8A1 #A1E6A8
tetradic
#A8A1E6 #E6A1BD #DFE6A1 #A1E6CB
square
#A8A1E6 #E6A1BD #DFE6A1 #A1E6CB
split-complementary
#A8A1E6 #E6CBA1 #BDE6A1
monochromatic
#4F40CC #7B71D9 #A8A1E6 #D5D1F3 #E9E7F9

Accessibility & contrast

On white

2.36
#A8A1E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#A8A1E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A1E6
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A1E6#FFFFFF#000000##000000
##A8A1E61.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FAAE9
Deuteranopia (green-blind)
#8EA7E4
Tritanopia (blue-blind)
#9AADBA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a8a1e6;
/* rgb */ color: rgb(168, 161, 230);
/* oklch */ color: oklch(74.1% 0.099 288.4);
Tailwind
colors: {
  custom: {
    50: '#c3bcee',
    500: '#a8a1e6',
    950: '#000000',
  },
}
SCSS
$custom: #a8a1e6;
$custom-light: #c3bcee;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a1e6",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 230
  },
  "hsl": {
    "h": 246.087,
    "s": 57.983,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74054,
    "c": 0.0988,
    "h": 288.4
  },
  "luminance": 0.39528
}

Semantic roles & 50–950 ramp

primary
#A8A1E6
secondary
#EEF0DB
accent
#C620B5
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131216
muted
#828184

Preview Lab

Preview with #A8A1E6

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

Preview Lab → · Contrast checker → · Palette generator →

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