#A8A5DC#A8A5DC

#A8A5DC is a light, moderate blue. Relative luminance 0.404; OKLCH L 74.4% C 0.079 H 286.8°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#A8A5DC
RGBrgb(168, 165, 220)
HSLhsl(243, 44%, 75%)
HSVhsv(243, 25%, 86%)
CMYKcmyk(23.6%, 25%, 0%, 13.7%)
CIE-LABlab(69.75, 12.77, -27.40)
CIE-LCHlch(69.75, 30.22, 294.99°)
OKLaboklab(74.41% 0.0228 -0.0754)
OKLCHoklch(74.41% 0.079 286.8)
XYZxyz(42.5187, 40.4017, 73.2545)
Luminance0.4040 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A5DC #D9DCA5
analogous
#A5BDDC #A8A5DC #C3A5DC
triadic
#A8A5DC #DCA8A5 #A5DCA8
tetradic
#A8A5DC #DCA5BD #D9DCA5 #A5DCC3
square
#A8A5DC #DCA5BD #D9DCA5 #A5DCC3
split-complementary
#A8A5DC #DCC3A5 #BDDCA5
monochromatic
#534DBA #7D79CB #A8A5DC #D3D1ED #EAE9F6

Accessibility & contrast

On white

2.31
#A8A5DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#A8A5DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A5DC
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A5DC#FFFFFF#000000##000000
##A8A5DC1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ACDE
Deuteranopia (green-blind)
#96A9DB
Tritanopia (blue-blind)
#9CAEB8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8a5dc;
/* rgb */ color: rgb(168, 165, 220);
/* oklch */ color: oklch(74.4% 0.079 286.8);
Tailwind
colors: {
  custom: {
    50: '#c2bfe7',
    500: '#a8a5dc',
    950: '#000000',
  },
}
SCSS
$custom: #a8a5dc;
$custom-light: #c2bfe7;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a5dc",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 220
  },
  "hsl": {
    "h": 243.273,
    "s": 44,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74407,
    "c": 0.07877,
    "h": 286.8
  },
  "luminance": 0.40402
}

Semantic roles & 50–950 ramp

primary
#A8A5DC
secondary
#ECEDDE
accent
#B72EB0
background
#FCFBFE
surface
#F8F7FC
border
#D1D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A8A5DC

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

Preview Lab → · Contrast checker → · Palette generator →

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