#A8A7F9#A8A7F9

#A8A7F9 is a light, moderate blue. Relative luminance 0.428; OKLCH L 76.1% C 0.117 H 283.8°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#A8A7F9
RGBrgb(168, 167, 249)
HSLhsl(241, 87%, 82%)
HSVhsv(241, 33%, 98%)
CMYKcmyk(32.5%, 32.9%, 0%, 2.4%)
CIE-LABlab(71.42, 18.75, -40.65)
CIE-LCHlch(71.42, 44.76, 294.77°)
OKLaboklab(76.07% 0.0279 -0.1133)
OKLCHoklch(76.07% 0.117 283.8)
XYZxyz(47.0614, 42.8005, 95.3859)
Luminance0.4280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A7F9 #F8F9A7
analogous
#A7CFF9 #A8A7F9 #D1A7F9
triadic
#A8A7F9 #F9A8A7 #A7F9A8
tetradic
#A8A7F9 #F9A7CF #F8F9A7 #A7F9D1
square
#A8A7F9 #F9A7CF #F8F9A7 #A7F9D1
split-complementary
#A8A7F9 #F9D1A7 #CFF9A7
monochromatic
#3734F1 #6F6EF5 #A8A7F9 #E1E0FD #E3E2FD

Accessibility & contrast

On white

2.20
#A8A7F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#A8A7F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A7F9
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A7F9#FFFFFF#000000##000000
##A8A7F91.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB2FC
Deuteranopia (green-blind)
#8CACF7
Tritanopia (blue-blind)
#93B6C5
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a8a7f9;
/* rgb */ color: rgb(168, 167, 249);
/* oklch */ color: oklch(76.1% 0.117 283.8);
Tailwind
colors: {
  custom: {
    50: '#c4c1fb',
    500: '#a8a7f9',
    950: '#000000',
  },
}
SCSS
$custom: #a8a7f9;
$custom-light: #c4c1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a7f9",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 249
  },
  "hsl": {
    "h": 240.732,
    "s": 87.234,
    "l": 81.569
  },
  "oklch": {
    "l": 0.76074,
    "c": 0.1167,
    "h": 283.8
  },
  "luminance": 0.42802
}

Semantic roles & 50–950 ramp

primary
#A8A7F9
secondary
#F5F5D6
accent
#E402E1
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A7F9

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

Preview Lab → · Contrast checker → · Palette generator →

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