#A8A7F2#A8A7F2

#A8A7F2 is a light, moderate blue. Relative luminance 0.424; OKLCH L 75.8% C 0.107 H 284.2°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#A8A7F2
RGBrgb(168, 167, 242)
HSLhsl(241, 74%, 80%)
HSVhsv(241, 31%, 95%)
CMYKcmyk(30.6%, 31%, 0%, 5.1%)
CIE-LABlab(71.13, 16.99, -37.30)
CIE-LCHlch(71.13, 40.99, 294.49°)
OKLaboklab(75.75% 0.0262 -0.1037)
OKLCHoklch(75.75% 0.107 284.2)
XYZxyz(45.9899, 42.3719, 89.7427)
Luminance0.4237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A7F2 #F1F2A7
analogous
#A7CBF2 #A8A7F2 #CDA7F2
triadic
#A8A7F2 #F2A8A7 #A7F2A8
tetradic
#A8A7F2 #F2A7CB #F1F2A7 #A7F2CD
square
#A8A7F2 #F2A7CB #F1F2A7 #A7F2CD
split-complementary
#A8A7F2 #F2CDA7 #CBF2A7
monochromatic
#3F3CE2 #7372EA #A8A7F2 #DDDCFA #E5E4FB

Accessibility & contrast

On white

2.22
#A8A7F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#A8A7F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A7F2
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A7F2#FFFFFF#000000##000000
##A8A7F21.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B0F5
Deuteranopia (green-blind)
#8FACF0
Tritanopia (blue-blind)
#96B5C2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a8a7f2;
/* rgb */ color: rgb(168, 167, 242);
/* oklch */ color: oklch(75.8% 0.107 284.2);
Tailwind
colors: {
  custom: {
    50: '#c3c1f6',
    500: '#a8a7f2',
    950: '#000000',
  },
}
SCSS
$custom: #a8a7f2;
$custom-light: #c3c1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a7f2",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 242
  },
  "hsl": {
    "h": 240.8,
    "s": 74.257,
    "l": 80.196
  },
  "oklch": {
    "l": 0.75752,
    "c": 0.10694,
    "h": 284.2
  },
  "luminance": 0.42373
}

Semantic roles & 50–950 ramp

primary
#A8A7F2
secondary
#F2F3D8
accent
#D60FD4
background
#FCFBFF
surface
#F8F7FE
border
#D1D0D6
text
#131217
muted
#828185

Preview Lab

Preview with #A8A7F2

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

Preview Lab → · Contrast checker → · Palette generator →

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