#A8A5F7#A8A5F7

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

Color values

HEX#A8A5F7
RGBrgb(168, 165, 247)
HSLhsl(242, 84%, 81%)
HSVhsv(242, 33%, 97%)
CMYKcmyk(32%, 33.2%, 0%, 3.1%)
CIE-LABlab(70.84, 19.37, -40.47)
CIE-LCHlch(70.84, 44.87, 295.58°)
OKLaboklab(75.6% 0.0301 -0.1128)
OKLCHoklch(75.6% 0.117 284.9)
XYZxyz(46.3876, 41.9492, 93.6306)
Luminance0.4195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A5F7 #F4F7A5
analogous
#A5CBF7 #A8A5F7 #D1A5F7
triadic
#A8A5F7 #F7A8A5 #A5F7A8
tetradic
#A8A5F7 #F7A5CB #F4F7A5 #A5F7D1
square
#A8A5F7 #F7A5CB #F4F7A5 #A5F7D1
split-complementary
#A8A5F7 #F7D1A5 #CBF7A5
monochromatic
#3B35ED #726DF2 #A8A5F7 #DEDDFC #E4E3FD

Accessibility & contrast

On white

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

On black

9.39
#A8A5F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A5F7
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A5F7#FFFFFF#000000##000000
##A8A5F71.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB0FA
Deuteranopia (green-blind)
#8AABF5
Tritanopia (blue-blind)
#94B4C3
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a8a5f7;
/* rgb */ color: rgb(168, 165, 247);
/* oklch */ color: oklch(75.6% 0.117 284.9);
Tailwind
colors: {
  custom: {
    50: '#c4bffa',
    500: '#a8a5f7',
    950: '#000000',
  },
}
SCSS
$custom: #a8a5f7;
$custom-light: #c4bffa;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a5f7",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 247
  },
  "hsl": {
    "h": 242.195,
    "s": 83.673,
    "l": 80.784
  },
  "oklch": {
    "l": 0.75598,
    "c": 0.11674,
    "h": 284.9
  },
  "luminance": 0.4195
}

Semantic roles & 50–950 ramp

primary
#A8A5F7
secondary
#F3F4D7
accent
#E005D8
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A5F7

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

Preview Lab → · Contrast checker → · Palette generator →

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