#A8A5FA#A8A5FA

#A8A5FA is a light, vivid blue. Relative luminance 0.421; OKLCH L 75.7% C 0.121 H 284.7°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#A8A5FA
RGBrgb(168, 165, 250)
HSLhsl(242, 89%, 81%)
HSVhsv(242, 34%, 98%)
CMYKcmyk(32.8%, 34%, 0%, 2%)
CIE-LABlab(70.96, 20.13, -41.90)
CIE-LCHlch(70.96, 46.48, 295.66°)
OKLaboklab(75.74% 0.0308 -0.1169)
OKLCHoklch(75.74% 0.121 284.7)
XYZxyz(46.8542, 42.1359, 96.0883)
Luminance0.4214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A5FA #F7FAA5
analogous
#A5CDFA #A8A5FA #D3A5FA
triadic
#A8A5FA #FAA8A5 #A5FAA8
tetradic
#A8A5FA #FAA5CD #F7FAA5 #A5FAD3
square
#A8A5FA #FAA5CD #F7FAA5 #A5FAD3
split-complementary
#A8A5FA #FAD3A5 #CDFAA5
monochromatic
#3831F4 #706BF7 #A8A5FA #E0DFFD #E3E2FD

Accessibility & contrast

On white

2.23
#A8A5FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#A8A5FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A5FA
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A5FA#FFFFFF#000000##000000
##A8A5FA1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB0FD
Deuteranopia (green-blind)
#89ABF8
Tritanopia (blue-blind)
#93B5C4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a8a5fa;
/* rgb */ color: rgb(168, 165, 250);
/* oklch */ color: oklch(75.7% 0.121 284.7);
Tailwind
colors: {
  custom: {
    50: '#c4bffc',
    500: '#a8a5fa',
    950: '#000000',
  },
}
SCSS
$custom: #a8a5fa;
$custom-light: #c4bffc;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a5fa",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 250
  },
  "hsl": {
    "h": 242.118,
    "s": 89.474,
    "l": 81.373
  },
  "oklch": {
    "l": 0.75739,
    "c": 0.12091,
    "h": 284.7
  },
  "luminance": 0.42137
}

Semantic roles & 50–950 ramp

primary
#A8A5FA
secondary
#F4F5D6
accent
#E600DD
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A5FA

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

Preview Lab → · Contrast checker → · Palette generator →

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