#A8A7F6#A8A7F6

#A8A7F6 is a light, moderate blue. Relative luminance 0.426; OKLCH L 75.9% C 0.113 H 284.0°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#A8A7F6
RGBrgb(168, 167, 246)
HSLhsl(241, 81%, 81%)
HSVhsv(241, 32%, 96%)
CMYKcmyk(31.7%, 32.1%, 0%, 3.5%)
CIE-LABlab(71.29, 17.99, -39.22)
CIE-LCHlch(71.29, 43.15, 294.65°)
OKLaboklab(75.94% 0.0272 -0.1092)
OKLCHoklch(75.94% 0.113 284)
XYZxyz(46.5972, 42.6148, 92.9413)
Luminance0.4262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A7F6 #F5F6A7
analogous
#A7CDF6 #A8A7F6 #CFA7F6
triadic
#A8A7F6 #F6A8A7 #A7F6A8
tetradic
#A8A7F6 #F6A7CD #F5F6A7 #A7F6CF
square
#A8A7F6 #F6A7CD #F5F6A7 #A7F6CF
split-complementary
#A8A7F6 #F6CFA7 #CDF6A7
monochromatic
#3A38EB #716FF0 #A8A7F6 #DFDFFC #E4E3FC

Accessibility & contrast

On white

2.21
#A8A7F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#A8A7F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A7F6
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A7F6#FFFFFF#000000##000000
##A8A7F61.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B1F9
Deuteranopia (green-blind)
#8DACF4
Tritanopia (blue-blind)
#94B6C4
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a8a7f6;
/* rgb */ color: rgb(168, 167, 246);
/* oklch */ color: oklch(75.9% 0.113 284.0);
Tailwind
colors: {
  custom: {
    50: '#c4c1f9',
    500: '#a8a7f6',
    950: '#000000',
  },
}
SCSS
$custom: #a8a7f6;
$custom-light: #c4c1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a7f6",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 246
  },
  "hsl": {
    "h": 240.759,
    "s": 81.443,
    "l": 80.98
  },
  "oklch": {
    "l": 0.75935,
    "c": 0.11253,
    "h": 284
  },
  "luminance": 0.42616
}

Semantic roles & 50–950 ramp

primary
#A8A7F6
secondary
#F4F4D7
accent
#DE08DB
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A7F6

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

Preview Lab → · Contrast checker → · Palette generator →

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