#A8A5F4#A8A5F4

#A8A5F4 is a light, moderate blue. Relative luminance 0.418; OKLCH L 75.5% C 0.113 H 285.1°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#A8A5F4
RGBrgb(168, 165, 244)
HSLhsl(242, 78%, 80%)
HSVhsv(242, 32%, 96%)
CMYKcmyk(31.1%, 32.4%, 0%, 4.3%)
CIE-LABlab(70.71, 18.61, -39.04)
CIE-LCHlch(70.71, 43.25, 295.49°)
OKLaboklab(75.46% 0.0293 -0.1087)
OKLCHoklch(75.46% 0.113 285.1)
XYZxyz(45.9284, 41.7655, 91.2121)
Luminance0.4177 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A5F4 #F1F4A5
analogous
#A5CAF4 #A8A5F4 #CFA5F4
triadic
#A8A5F4 #F4A8A5 #A5F4A8
tetradic
#A8A5F4 #F4A5CA #F1F4A5 #A5F4CF
square
#A8A5F4 #F4A5CA #F1F4A5 #A5F4CF
split-complementary
#A8A5F4 #F4CFA5 #CAF4A5
monochromatic
#3F38E7 #736EED #A8A5F4 #DDDCFB #E5E4FC

Accessibility & contrast

On white

2.25
#A8A5F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#A8A5F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A5F4
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A5F4#FFFFFF#000000##000000
##A8A5F41.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAFF7
Deuteranopia (green-blind)
#8CABF2
Tritanopia (blue-blind)
#95B3C2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a8a5f4;
/* rgb */ color: rgb(168, 165, 244);
/* oklch */ color: oklch(75.5% 0.113 285.1);
Tailwind
colors: {
  custom: {
    50: '#c4bff8',
    500: '#a8a5f4',
    950: '#000000',
  },
}
SCSS
$custom: #a8a5f4;
$custom-light: #c4bff8;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a5f4",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 244
  },
  "hsl": {
    "h": 242.278,
    "s": 78.218,
    "l": 80.196
  },
  "oklch": {
    "l": 0.75458,
    "c": 0.11257,
    "h": 285.1
  },
  "luminance": 0.41767
}

Semantic roles & 50–950 ramp

primary
#A8A5F4
secondary
#F2F3D8
accent
#DA0BD3
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A5F4

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

Preview Lab → · Contrast checker → · Palette generator →

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