#A8A5F6#A8A5F6

#A8A5F6 is a light, moderate blue. Relative luminance 0.419; OKLCH L 75.6% C 0.115 H 285.0°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#A8A5F6
RGBrgb(168, 165, 246)
HSLhsl(242, 82%, 81%)
HSVhsv(242, 33%, 96%)
CMYKcmyk(31.7%, 32.9%, 0%, 3.5%)
CIE-LABlab(70.79, 19.12, -39.99)
CIE-LCHlch(70.79, 44.33, 295.55°)
OKLaboklab(75.55% 0.0298 -0.1114)
OKLCHoklch(75.55% 0.115 285)
XYZxyz(46.2337, 41.8877, 92.8201)
Luminance0.4189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A5F6 #F3F6A5
analogous
#A5CAF6 #A8A5F6 #D0A5F6
triadic
#A8A5F6 #F6A8A5 #A5F6A8
tetradic
#A8A5F6 #F6A5CA #F3F6A5 #A5F6D0
square
#A8A5F6 #F6A5CA #F3F6A5 #A5F6D0
split-complementary
#A8A5F6 #F6D0A5 #CAF6A5
monochromatic
#3C36EB #726DF0 #A8A5F6 #DEDDFC #E4E3FC

Accessibility & contrast

On white

2.24
#A8A5F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#A8A5F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A5F6
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A5F6#FFFFFF#000000##000000
##A8A5F61.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB0F9
Deuteranopia (green-blind)
#8BABF4
Tritanopia (blue-blind)
#94B4C2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a8a5f6;
/* rgb */ color: rgb(168, 165, 246);
/* oklch */ color: oklch(75.6% 0.115 285.0);
Tailwind
colors: {
  custom: {
    50: '#c4bff9',
    500: '#a8a5f6',
    950: '#000000',
  },
}
SCSS
$custom: #a8a5f6;
$custom-light: #c4bff9;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a5f6",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 246
  },
  "hsl": {
    "h": 242.222,
    "s": 81.818,
    "l": 80.588
  },
  "oklch": {
    "l": 0.75551,
    "c": 0.11536,
    "h": 285
  },
  "luminance": 0.41889
}

Semantic roles & 50–950 ramp

primary
#A8A5F6
secondary
#F3F4D7
accent
#DE07D6
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A5F6

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

Preview Lab → · Contrast checker → · Palette generator →

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