#A8A5FE#A8A5FE

#A8A5FE is a light, vivid blue. Relative luminance 0.424; OKLCH L 75.9% C 0.126 H 284.5°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#A8A5FE
RGBrgb(168, 165, 254)
HSLhsl(242, 98%, 82%)
HSVhsv(242, 35%, 100%)
CMYKcmyk(33.9%, 35%, 0%, 0.4%)
CIE-LABlab(71.14, 21.15, -43.79)
CIE-LCHlch(71.14, 48.64, 295.78°)
OKLaboklab(75.93% 0.0317 -0.1224)
OKLCHoklch(75.93% 0.126 284.5)
XYZxyz(47.4881, 42.3894, 99.4266)
Luminance0.4239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A5FE #FBFEA5
analogous
#A5CFFE #A8A5FE #D4A5FE
triadic
#A8A5FE #FEA8A5 #A5FEA8
tetradic
#A8A5FE #FEA5CF #FBFEA5 #A5FED4
square
#A8A5FE #FEA5CF #FBFEA5 #A5FED4
split-complementary
#A8A5FE #FED4A5 #CFFEA5
monochromatic
#332CFD #6D68FD #A8A5FE #E2E1FF #E2E1FF

Accessibility & contrast

On white

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

On black

9.48
#A8A5FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A5FE
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A5FE#FFFFFF#000000##000000
##A8A5FE1.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AB1FF
Deuteranopia (green-blind)
#87ABFC
Tritanopia (blue-blind)
#92B6C6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a8a5fe;
/* rgb */ color: rgb(168, 165, 254);
/* oklch */ color: oklch(75.9% 0.126 284.5);
Tailwind
colors: {
  custom: {
    50: '#c4bfff',
    500: '#a8a5fe',
    950: '#000000',
  },
}
SCSS
$custom: #a8a5fe;
$custom-light: #c4bfff;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a5fe",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 254
  },
  "hsl": {
    "h": 242.022,
    "s": 97.802,
    "l": 82.157
  },
  "oklch": {
    "l": 0.75929,
    "c": 0.12644,
    "h": 284.5
  },
  "luminance": 0.42391
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8A5FE

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

Preview Lab → · Contrast checker → · Palette generator →

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