#A8A5F9#A8A5F9

#A8A5F9 is a light, moderate blue. Relative luminance 0.421; OKLCH L 75.7% C 0.120 H 284.8°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#A8A5F9
RGBrgb(168, 165, 249)
HSLhsl(242, 88%, 81%)
HSVhsv(242, 34%, 98%)
CMYKcmyk(32.5%, 33.7%, 0%, 2.4%)
CIE-LABlab(70.92, 19.88, -41.42)
CIE-LCHlch(70.92, 45.95, 295.63°)
OKLaboklab(75.69% 0.0305 -0.1156)
OKLCHoklch(75.69% 0.12 284.8)
XYZxyz(46.6979, 42.0733, 95.2647)
Luminance0.4208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A5F9 #F6F9A5
analogous
#A5CCF9 #A8A5F9 #D2A5F9
triadic
#A8A5F9 #F9A8A5 #A5F9A8
tetradic
#A8A5F9 #F9A5CC #F6F9A5 #A5F9D2
square
#A8A5F9 #F9A5CC #F6F9A5 #A5F9D2
split-complementary
#A8A5F9 #F9D2A5 #CCF9A5
monochromatic
#3932F1 #716CF5 #A8A5F9 #DFDEFD #E3E2FD

Accessibility & contrast

On white

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

On black

9.41
#A8A5F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A5F9
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A5F9#FFFFFF#000000##000000
##A8A5F91.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a5f9;
/* rgb */ color: rgb(168, 165, 249);
/* oklch */ color: oklch(75.7% 0.120 284.8);
Tailwind
colors: {
  custom: {
    50: '#c4bffb',
    500: '#a8a5f9',
    950: '#000000',
  },
}
SCSS
$custom: #a8a5f9;
$custom-light: #c4bffb;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a5f9",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 249
  },
  "hsl": {
    "h": 242.143,
    "s": 87.5,
    "l": 81.176
  },
  "oklch": {
    "l": 0.75691,
    "c": 0.11952,
    "h": 284.8
  },
  "luminance": 0.42075
}

Semantic roles & 50–950 ramp

primary
#A8A5F9
secondary
#F4F5D6
accent
#E401DC
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A5F9

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

Preview Lab → · Contrast checker → · Palette generator →

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