#A8A5FB#A8A5FB

#A8A5FB is a light, vivid blue. Relative luminance 0.422; OKLCH L 75.8% C 0.122 H 284.7°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#A8A5FB
RGBrgb(168, 165, 251)
HSLhsl(242, 91%, 82%)
HSVhsv(242, 34%, 98%)
CMYKcmyk(33.1%, 34.3%, 0%, 1.6%)
CIE-LABlab(71.01, 20.39, -42.37)
CIE-LCHlch(71.01, 47.02, 295.69°)
OKLaboklab(75.79% 0.031 -0.1183)
OKLCHoklch(75.79% 0.122 284.7)
XYZxyz(47.0114, 42.1988, 96.9163)
Luminance0.4220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A5FB #F8FBA5
analogous
#A5CDFB #A8A5FB #D3A5FB
triadic
#A8A5FB #FBA8A5 #A5FBA8
tetradic
#A8A5FB #FBA5CD #F8FBA5 #A5FBD3
square
#A8A5FB #FBA5CD #F8FBA5 #A5FBD3
split-complementary
#A8A5FB #FBD3A5 #CDFBA5
monochromatic
#3730F6 #6F6AF8 #A8A5FB #E1E0FE #E3E2FE

Accessibility & contrast

On white

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

On black

9.44
#A8A5FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A5FB
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A5FB#FFFFFF#000000##000000
##A8A5FB1.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB0FE
Deuteranopia (green-blind)
#88ABF9
Tritanopia (blue-blind)
#93B5C4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a8a5fb;
/* rgb */ color: rgb(168, 165, 251);
/* oklch */ color: oklch(75.8% 0.122 284.7);
Tailwind
colors: {
  custom: {
    50: '#c4bffd',
    500: '#a8a5fb',
    950: '#000000',
  },
}
SCSS
$custom: #a8a5fb;
$custom-light: #c4bffd;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a5fb",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 251
  },
  "hsl": {
    "h": 242.093,
    "s": 91.489,
    "l": 81.569
  },
  "oklch": {
    "l": 0.75786,
    "c": 0.12229,
    "h": 284.7
  },
  "luminance": 0.422
}

Semantic roles & 50–950 ramp

primary
#A8A5FB
secondary
#F5F6D5
accent
#E600DD
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A5FB

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

Preview Lab → · Contrast checker → · Palette generator →

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