#A8A7FF#A8A7FF

#A8A7FF is a light, vivid blue. Relative luminance 0.432; OKLCH L 76.4% C 0.125 H 283.5°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#A8A7FF
RGBrgb(168, 167, 255)
HSLhsl(241, 100%, 83%)
HSVhsv(241, 35%, 100%)
CMYKcmyk(34.1%, 34.5%, 0%, 0%)
CIE-LABlab(71.68, 20.29, -43.49)
CIE-LCHlch(71.68, 47.99, 295.01°)
OKLaboklab(76.36% 0.0293 -0.1215)
OKLCHoklch(76.36% 0.125 283.5)
XYZxyz(48.0122, 43.1808, 100.3934)
Luminance0.4318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A7FF #FEFFA7
analogous
#A7D2FF #A8A7FF #D4A7FF
triadic
#A8A7FF #FFA8A7 #A7FFA8
tetradic
#A8A7FF #FFA7D2 #FEFFA7 #A7FFD4
square
#A8A7FF #FFA7D2 #FEFFA7 #A7FFD4
split-complementary
#A8A7FF #FFD4A7 #D2FFA7
monochromatic
#2F2DFF #6B6AFF #A8A7FF #E1E0FF #E1E0FF

Accessibility & contrast

On white

2.18
#A8A7FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#A8A7FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A7FF
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A7FF#FFFFFF#000000##000000
##A8A7FF1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CB2FF
Deuteranopia (green-blind)
#89ADFD
Tritanopia (blue-blind)
#91B8C7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a8a7ff;
/* rgb */ color: rgb(168, 167, 255);
/* oklch */ color: oklch(76.4% 0.125 283.5);
Tailwind
colors: {
  custom: {
    50: '#c4c1ff',
    500: '#a8a7ff',
    950: '#000000',
  },
}
SCSS
$custom: #a8a7ff;
$custom-light: #c4c1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a7ff",
  "rgb": {
    "r": 168,
    "g": 167,
    "b": 255
  },
  "hsl": {
    "h": 240.682,
    "s": 100,
    "l": 82.745
  },
  "oklch": {
    "l": 0.76357,
    "c": 0.12502,
    "h": 283.5
  },
  "luminance": 0.43182
}

Semantic roles & 50–950 ramp

primary
#A8A7FF
secondary
#F7F7D4
accent
#E600E3
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #A8A7FF

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

Preview Lab → · Contrast checker → · Palette generator →

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