#A8A7DC#A8A7DC

#A8A7DC is a light, moderate blue. Relative luminance 0.411; OKLCH L 74.8% C 0.076 H 285.3°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#A8A7DC
RGBrgb(168, 167, 220)
HSLhsl(241, 43%, 76%)
HSVhsv(241, 24%, 86%)
CMYKcmyk(23.6%, 24.1%, 0%, 13.7%)
CIE-LABlab(70.27, 11.65, -26.61)
CIE-LCHlch(70.27, 29.05, 293.64°)
OKLaboklab(74.8% 0.02 -0.0732)
OKLCHoklch(74.8% 0.076 285.3)
XYZxyz(42.8822, 41.1288, 73.3756)
Luminance0.4113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A7DC #DBDCA7
analogous
#A7C0DC #A8A7DC #C2A7DC
triadic
#A8A7DC #DCA8A7 #A7DCA8
tetradic
#A8A7DC #DCA7C0 #DBDCA7 #A7DCC2
square
#A8A7DC #DCA7C0 #DBDCA7 #A7DCC2
split-complementary
#A8A7DC #DCC2A7 #C0DCA7
monochromatic
#514FB9 #7D7BCB #A8A7DC #D3D3ED #E9E9F6

Accessibility & contrast

On white

2.28
#A8A7DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#A8A7DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A7DC
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A7DC#FFFFFF#000000##000000
##A8A7DC1.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99ADDE
Deuteranopia (green-blind)
#98AADB
Tritanopia (blue-blind)
#9CB0B9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8a7dc;
/* rgb */ color: rgb(168, 167, 220);
/* oklch */ color: oklch(74.8% 0.076 285.3);
Tailwind
colors: {
  custom: {
    50: '#c2c1e7',
    500: '#a8a7dc',
    950: '#000000',
  },
}
SCSS
$custom: #a8a7dc;
$custom-light: #c2c1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a7dc",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 220
  },
  "hsl": {
    "h": 241.132,
    "s": 43.089,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74803,
    "c": 0.07586,
    "h": 285.3
  },
  "luminance": 0.4113
}

Semantic roles & 50–950 ramp

primary
#A8A7DC
secondary
#EDEDDE
accent
#B62FB4
background
#FCFBFE
surface
#F8F7FC
border
#D1D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A8A7DC

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

Preview Lab → · Contrast checker → · Palette generator →

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