#A8A5EF#A8A5EF

#A8A5EF is a light, moderate blue. Relative luminance 0.415; OKLCH L 75.2% C 0.106 H 285.4°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#A8A5EF
RGBrgb(168, 165, 239)
HSLhsl(242, 70%, 79%)
HSVhsv(242, 31%, 94%)
CMYKcmyk(29.7%, 31%, 0%, 6.3%)
CIE-LABlab(70.50, 17.37, -36.64)
CIE-LCHlch(70.50, 40.55, 295.36°)
OKLaboklab(75.23% 0.0281 -0.1018)
OKLCHoklch(75.23% 0.106 285.4)
XYZxyz(45.1795, 41.4660, 87.2680)
Luminance0.4147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A5EF #ECEFA5
analogous
#A5C7EF #A8A5EF #CDA5EF
triadic
#A8A5EF #EFA8A5 #A5EFA8
tetradic
#A8A5EF #EFA5C7 #ECEFA5 #A5EFCD
square
#A8A5EF #EFA5C7 #ECEFA5 #A5EFCD
split-complementary
#A8A5EF #EFCDA5 #C7EFA5
monochromatic
#443DDD #7671E6 #A8A5EF #DAD9F8 #E6E5FA

Accessibility & contrast

On white

2.26
#A8A5EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#A8A5EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A5EF
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A5EF#FFFFFF#000000##000000
##A8A5EF1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AFF2
Deuteranopia (green-blind)
#8EAAED
Tritanopia (blue-blind)
#97B2C0
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8a5ef;
/* rgb */ color: rgb(168, 165, 239);
/* oklch */ color: oklch(75.2% 0.106 285.4);
Tailwind
colors: {
  custom: {
    50: '#c3bff4',
    500: '#a8a5ef',
    950: '#000000',
  },
}
SCSS
$custom: #a8a5ef;
$custom-light: #c3bff4;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a5ef",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 239
  },
  "hsl": {
    "h": 242.432,
    "s": 69.811,
    "l": 79.216
  },
  "oklch": {
    "l": 0.7523,
    "c": 0.10558,
    "h": 285.4
  },
  "luminance": 0.41467
}

Semantic roles & 50–950 ramp

primary
#A8A5EF
secondary
#F1F2D9
accent
#D214CA
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #A8A5EF

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

Preview Lab → · Contrast checker → · Palette generator →

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