#A8A5DF#A8A5DF

#A8A5DF is a light, moderate blue. Relative luminance 0.406; OKLCH L 74.5% C 0.083 H 286.6°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#A8A5DF
RGBrgb(168, 165, 223)
HSLhsl(243, 48%, 76%)
HSVhsv(243, 26%, 87%)
CMYKcmyk(24.7%, 26%, 0%, 12.5%)
CIE-LABlab(69.87, 13.48, -28.87)
CIE-LCHlch(69.87, 31.86, 295.03°)
OKLaboklab(74.53% 0.0237 -0.0796)
OKLCHoklch(74.53% 0.083 286.6)
XYZxyz(42.9196, 40.5620, 75.3657)
Luminance0.4056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A5DF #DCDFA5
analogous
#A5BFDF #A8A5DF #C5A5DF
triadic
#A8A5DF #DFA8A5 #A5DFA8
tetradic
#A8A5DF #DFA5BF #DCDFA5 #A5DFC5
square
#A8A5DF #DFA5BF #DCDFA5 #A5DFC5
split-complementary
#A8A5DF #DFC5A5 #BFDFA5
monochromatic
#514BBF #7C78CF #A8A5DF #D4D2EF #E9E8F7

Accessibility & contrast

On white

2.30
#A8A5DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#A8A5DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A5DF
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A5DF#FFFFFF#000000##000000
##A8A5DF1.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ACE1
Deuteranopia (green-blind)
#95A9DD
Tritanopia (blue-blind)
#9CAFB9
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8a5df;
/* rgb */ color: rgb(168, 165, 223);
/* oklch */ color: oklch(74.5% 0.083 286.6);
Tailwind
colors: {
  custom: {
    50: '#c3bfe9',
    500: '#a8a5df',
    950: '#000000',
  },
}
SCSS
$custom: #a8a5df;
$custom-light: #c3bfe9;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a5df",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 223
  },
  "hsl": {
    "h": 243.103,
    "s": 47.541,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74532,
    "c": 0.08303,
    "h": 286.6
  },
  "luminance": 0.40563
}

Semantic roles & 50–950 ramp

primary
#A8A5DF
secondary
#EDEEDD
accent
#BB2BB3
background
#FCFBFE
surface
#F8F7FC
border
#D1D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A8A5DF

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

Preview Lab → · Contrast checker → · Palette generator →

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