#A8A7E4#A8A7E4

#A8A7E4 is a light, moderate blue. Relative luminance 0.416; OKLCH L 75.1% C 0.087 H 284.8°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#A8A7E4
RGBrgb(168, 167, 228)
HSLhsl(241, 53%, 77%)
HSVhsv(241, 27%, 89%)
CMYKcmyk(26.3%, 26.8%, 0%, 10.6%)
CIE-LABlab(70.57, 13.55, -30.53)
CIE-LCHlch(70.57, 33.40, 293.94°)
OKLaboklab(75.14% 0.0223 -0.0843)
OKLCHoklch(75.14% 0.087 284.8)
XYZxyz(43.9672, 41.5628, 79.0897)
Luminance0.4156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A7E4 #E3E4A7
analogous
#A7C4E4 #A8A7E4 #C7A7E4
triadic
#A8A7E4 #E4A8A7 #A7E4A8
tetradic
#A8A7E4 #E4A7C4 #E3E4A7 #A7E4C7
square
#A8A7E4 #E4A7C4 #E3E4A7 #A7E4C7
split-complementary
#A8A7E4 #E4C7A7 #C4E4A7
monochromatic
#4B49C7 #7A78D6 #A8A7E4 #D6D6F2 #E8E8F8

Accessibility & contrast

On white

2.25
#A8A7E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#A8A7E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A7E4
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A7E4#FFFFFF#000000##000000
##A8A7E41.002.259.319.31
#FFFFFF2.251.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97AEE7
Deuteranopia (green-blind)
#95ABE2
Tritanopia (blue-blind)
#9AB2BC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a8a7e4;
/* rgb */ color: rgb(168, 167, 228);
/* oklch */ color: oklch(75.1% 0.087 284.8);
Tailwind
colors: {
  custom: {
    50: '#c3c1ec',
    500: '#a8a7e4',
    950: '#000000',
  },
}
SCSS
$custom: #a8a7e4;
$custom-light: #c3c1ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a7e4",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 228
  },
  "hsl": {
    "h": 240.984,
    "s": 53.043,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75137,
    "c": 0.08722,
    "h": 284.8
  },
  "luminance": 0.41564
}

Semantic roles & 50–950 ramp

primary
#A8A7E4
secondary
#EFEFDC
accent
#C025BE
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A8A7E4

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

Preview Lab → · Contrast checker → · Palette generator →

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