#A8A1DD#A8A1DD

#A8A1DD is a light, moderate blue. Relative luminance 0.390; OKLCH L 73.7% C 0.086 H 289.4°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#A8A1DD
RGBrgb(168, 161, 221)
HSLhsl(247, 47%, 75%)
HSVhsv(247, 27%, 87%)
CMYKcmyk(24%, 27.1%, 0%, 13.3%)
CIE-LABlab(68.78, 15.25, -29.45)
CIE-LCHlch(68.78, 33.16, 297.37°)
OKLaboklab(73.66% 0.0287 -0.0812)
OKLCHoklch(73.66% 0.086 289.4)
XYZxyz(41.9413, 39.0344, 73.7173)
Luminance0.3903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A1DD #D6DDA1
analogous
#A1B8DD #A8A1DD #C6A1DD
triadic
#A8A1DD #DDA8A1 #A1DDA8
tetradic
#A8A1DD #DDA1B8 #D6DDA1 #A1DDC6
square
#A8A1DD #DDA1B8 #D6DDA1 #A1DDC6
split-complementary
#A8A1DD #DDC6A1 #B8DDA1
monochromatic
#5547BC #7E74CD #A8A1DD #D2CEED #EAE9F7

Accessibility & contrast

On white

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

On black

8.81
#A8A1DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A1DD
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A1DD#FFFFFF#000000##000000
##A8A1DD1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#92A9E0
Deuteranopia (green-blind)
#92A6DB
Tritanopia (blue-blind)
#9DABB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a8a1dd;
/* rgb */ color: rgb(168, 161, 221);
/* oklch */ color: oklch(73.7% 0.086 289.4);
Tailwind
colors: {
  custom: {
    50: '#c3bce7',
    500: '#a8a1dd',
    950: '#000000',
  },
}
SCSS
$custom: #a8a1dd;
$custom-light: #c3bce7;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a1dd",
  "rgb": {
    "r": 168,
    "g": 161,
    "b": 221
  },
  "hsl": {
    "h": 247,
    "s": 46.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73663,
    "c": 0.08613,
    "h": 289.4
  },
  "luminance": 0.39035
}

Semantic roles & 50–950 ramp

primary
#A8A1DD
secondary
#ECEEDD
accent
#BA2BA9
background
#FCFBFE
surface
#F8F6FC
border
#D1D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A8A1DD

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

Preview Lab → · Contrast checker → · Palette generator →

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