#A8A5FF#A8A5FF

#A8A5FF is a light, vivid blue. Relative luminance 0.425; OKLCH L 76.0% C 0.128 H 284.4°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#A8A5FF
RGBrgb(168, 165, 255)
HSLhsl(242, 100%, 82%)
HSVhsv(242, 35%, 100%)
CMYKcmyk(34.1%, 35.3%, 0%, 0%)
CIE-LABlab(71.18, 21.41, -44.27)
CIE-LCHlch(71.18, 49.17, 295.81°)
OKLaboklab(75.98% 0.0319 -0.1238)
OKLCHoklch(75.98% 0.128 284.4)
XYZxyz(47.6486, 42.4537, 100.2722)
Luminance0.4245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A5FF #FCFFA5
analogous
#A5CFFF #A8A5FF #D5A5FF
triadic
#A8A5FF #FFA8A5 #A5FFA8
tetradic
#A8A5FF #FFA5CF #FCFFA5 #A5FFD5
square
#A8A5FF #FFA5CF #FCFFA5 #A5FFD5
split-complementary
#A8A5FF #FFD5A5 #CFFFA5
monochromatic
#322BFF #6D68FF #A8A5FF #E1E0FF #E1E0FF

Accessibility & contrast

On white

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

On black

9.49
#A8A5FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A5FF
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A5FF#FFFFFF#000000##000000
##A8A5FF1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B1FF
Deuteranopia (green-blind)
#86ACFD
Tritanopia (blue-blind)
#91B6C6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a8a5ff;
/* rgb */ color: rgb(168, 165, 255);
/* oklch */ color: oklch(76.0% 0.128 284.4);
Tailwind
colors: {
  custom: {
    50: '#c4bfff',
    500: '#a8a5ff',
    950: '#000000',
  },
}
SCSS
$custom: #a8a5ff;
$custom-light: #c4bfff;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a5ff",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 255
  },
  "hsl": {
    "h": 242,
    "s": 100,
    "l": 82.353
  },
  "oklch": {
    "l": 0.75978,
    "c": 0.12782,
    "h": 284.4
  },
  "luminance": 0.42455
}

Semantic roles & 50–950 ramp

primary
#A8A5FF
secondary
#F6F7D4
accent
#E600DE
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #A8A5FF

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

Preview Lab → · Contrast checker → · Palette generator →

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