#A8A7FA#A8A7FA

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

Color values

HEX#A8A7FA
RGBrgb(168, 167, 250)
HSLhsl(241, 89%, 82%)
HSVhsv(241, 33%, 98%)
CMYKcmyk(32.8%, 33.2%, 0%, 2%)
CIE-LABlab(71.46, 19.01, -41.12)
CIE-LCHlch(71.46, 45.30, 294.81°)
OKLaboklab(76.12% 0.0281 -0.1147)
OKLCHoklch(76.12% 0.118 283.8)
XYZxyz(47.2178, 42.8630, 96.2095)
Luminance0.4286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A7FA #F9FAA7
analogous
#A7D0FA #A8A7FA #D2A7FA
triadic
#A8A7FA #FAA8A7 #A7FAA8
tetradic
#A8A7FA #FAA7D0 #F9FAA7 #A7FAD2
square
#A8A7FA #FAA7D0 #F9FAA7 #A7FAD2
split-complementary
#A8A7FA #FAD2A7 #D0FAA7
monochromatic
#3533F3 #6F6DF7 #A8A7FA #E1E1FD #E2E2FD

Accessibility & contrast

On white

2.19
#A8A7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#A8A7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A7FA
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A7FA#FFFFFF#000000##000000
##A8A7FA1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a7fa;
/* rgb */ color: rgb(168, 167, 250);
/* oklch */ color: oklch(76.1% 0.118 283.8);
Tailwind
colors: {
  custom: {
    50: '#c4c1fc',
    500: '#a8a7fa',
    950: '#000000',
  },
}
SCSS
$custom: #a8a7fa;
$custom-light: #c4c1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a7fa",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 240.723,
    "s": 89.247,
    "l": 81.765
  },
  "oklch": {
    "l": 0.76121,
    "c": 0.11809,
    "h": 283.8
  },
  "luminance": 0.42864
}

Semantic roles & 50–950 ramp

primary
#A8A7FA
secondary
#F5F5D6
accent
#E600E3
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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