#A8A7F5#A8A7F5

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

Color values

HEX#A8A7F5
RGBrgb(168, 167, 245)
HSLhsl(241, 80%, 81%)
HSVhsv(241, 32%, 96%)
CMYKcmyk(31.4%, 31.8%, 0%, 3.9%)
CIE-LABlab(71.25, 17.74, -38.74)
CIE-LCHlch(71.25, 42.61, 294.61°)
OKLaboklab(75.89% 0.0269 -0.1078)
OKLCHoklch(75.89% 0.111 284)
XYZxyz(46.4442, 42.5536, 92.1351)
Luminance0.4255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A7F5 #F4F5A7
analogous
#A7CDF5 #A8A7F5 #CFA7F5
triadic
#A8A7F5 #F5A8A7 #A7F5A8
tetradic
#A8A7F5 #F5A7CD #F4F5A7 #A7F5CF
square
#A8A7F5 #F5A7CD #F4F5A7 #A7F5CF
split-complementary
#A8A7F5 #F5CFA7 #CDF5A7
monochromatic
#3B39E9 #7270EF #A8A7F5 #DEDEFB #E4E4FC

Accessibility & contrast

On white

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

On black

9.51
#A8A7F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A7F5
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A7F5#FFFFFF#000000##000000
##A8A7F51.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B1F8
Deuteranopia (green-blind)
#8DACF3
Tritanopia (blue-blind)
#95B5C3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a8a7f5;
/* rgb */ color: rgb(168, 167, 245);
/* oklch */ color: oklch(75.9% 0.111 284.0);
Tailwind
colors: {
  custom: {
    50: '#c4c1f8',
    500: '#a8a7f5',
    950: '#000000',
  },
}
SCSS
$custom: #a8a7f5;
$custom-light: #c4c1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a7f5",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 245
  },
  "hsl": {
    "h": 240.769,
    "s": 79.592,
    "l": 80.784
  },
  "oklch": {
    "l": 0.75889,
    "c": 0.11113,
    "h": 284
  },
  "luminance": 0.42555
}

Semantic roles & 50–950 ramp

primary
#A8A7F5
secondary
#F3F4D7
accent
#DC0AD9
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A7F5

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

Preview Lab → · Contrast checker → · Palette generator →

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