#A6A1DD#A6A1DD

#A6A1DD is a light, moderate blue. Relative luminance 0.388; OKLCH L 73.5% C 0.086 H 287.9°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#A6A1DD
RGBrgb(166, 161, 221)
HSLhsl(245, 47%, 75%)
HSVhsv(245, 27%, 87%)
CMYKcmyk(24.9%, 27.1%, 0%, 13.3%)
CIE-LABlab(68.62, 14.64, -29.71)
CIE-LCHlch(68.62, 33.12, 296.24°)
OKLaboklab(73.5% 0.0265 -0.082)
OKLCHoklch(73.5% 0.086 287.9)
XYZxyz(41.5187, 38.8165, 73.6975)
Luminance0.3882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A1DD #D8DDA1
analogous
#A1BADD #A6A1DD #C4A1DD
triadic
#A6A1DD #DDA6A1 #A1DDA6
tetradic
#A6A1DD #DDA1BA #D8DDA1 #A1DDC4
square
#A6A1DD #DDA1BA #D8DDA1 #A1DDC4
split-complementary
#A6A1DD #DDC4A1 #BADDA1
monochromatic
#5147BC #7B74CD #A6A1DD #D1CEED #EAE9F7

Accessibility & contrast

On white

2.40
#A6A1DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#A6A1DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A1DD
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A1DD#FFFFFF#000000##000000
##A6A1DD1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91A9E0
Deuteranopia (green-blind)
#91A6DB
Tritanopia (blue-blind)
#9AABB6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a6a1dd;
/* rgb */ color: rgb(166, 161, 221);
/* oklch */ color: oklch(73.5% 0.086 287.9);
Tailwind
colors: {
  custom: {
    50: '#c1bce7',
    500: '#a6a1dd',
    950: '#000000',
  },
}
SCSS
$custom: #a6a1dd;
$custom-light: #c1bce7;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a1dd",
  "rgb": {
    "r": 166,
    "g": 161,
    "b": 221
  },
  "hsl": {
    "h": 245,
    "s": 46.875,
    "l": 74.902
  },
  "oklch": {
    "l": 0.73502,
    "c": 0.08615,
    "h": 287.9
  },
  "luminance": 0.38817
}

Semantic roles & 50–950 ramp

primary
#A6A1DD
secondary
#ECEEDD
accent
#BA2BAE
background
#FBFBFE
surface
#F7F6FC
border
#D0D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A6A1DD

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

Preview Lab → · Contrast checker → · Palette generator →

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