#A8A1DF#A8A1DF

#A8A1DF is a light, moderate blue. Relative luminance 0.391; OKLCH L 73.7% C 0.089 H 289.2°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#A8A1DF
RGBrgb(168, 161, 223)
HSLhsl(247, 49%, 75%)
HSVhsv(247, 28%, 87%)
CMYKcmyk(24.7%, 27.8%, 0%, 12.5%)
CIE-LABlab(68.85, 15.72, -30.43)
CIE-LCHlch(68.85, 34.25, 297.32°)
OKLaboklab(73.75% 0.0293 -0.084)
OKLCHoklch(73.75% 0.089 289.2)
XYZxyz(42.2093, 39.1416, 75.1290)
Luminance0.3914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A1DF #D8DFA1
analogous
#A1B9DF #A8A1DF #C7A1DF
triadic
#A8A1DF #DFA8A1 #A1DFA8
tetradic
#A8A1DF #DFA1B9 #D8DFA1 #A1DFC7
square
#A8A1DF #DFA1B9 #D8DFA1 #A1DFC7
split-complementary
#A8A1DF #DFC7A1 #B9DFA1
monochromatic
#5346C0 #7E73CF #A8A1DF #D2CFEF #EAE8F7

Accessibility & contrast

On white

2.38
#A8A1DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#A8A1DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A1DF
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A1DF#FFFFFF#000000##000000
##A8A1DF1.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A9E2
Deuteranopia (green-blind)
#91A7DD
Tritanopia (blue-blind)
#9CACB7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a8a1df;
/* rgb */ color: rgb(168, 161, 223);
/* oklch */ color: oklch(73.7% 0.089 289.2);
Tailwind
colors: {
  custom: {
    50: '#c3bce9',
    500: '#a8a1df',
    950: '#000000',
  },
}
SCSS
$custom: #a8a1df;
$custom-light: #c3bce9;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a1df",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 223
  },
  "hsl": {
    "h": 246.774,
    "s": 49.206,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73748,
    "c": 0.08896,
    "h": 289.2
  },
  "luminance": 0.39142
}

Semantic roles & 50–950 ramp

primary
#A8A1DF
secondary
#ECEEDD
accent
#BD29AC
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A8A1DF

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

Preview Lab → · Contrast checker → · Palette generator →

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