#A8A4EB#A8A4EB

#A8A4EB is a light, moderate blue. Relative luminance 0.409; OKLCH L 74.9% C 0.101 H 286.3°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#A8A4EB
RGBrgb(168, 164, 235)
HSLhsl(243, 64%, 78%)
HSVhsv(243, 30%, 92%)
CMYKcmyk(28.5%, 30.2%, 0%, 7.8%)
CIE-LABlab(70.09, 16.94, -35.10)
CIE-LCHlch(70.09, 38.97, 295.76°)
OKLaboklab(74.86% 0.0284 -0.0974)
OKLCHoklch(74.86% 0.101 286.3)
XYZxyz(44.4154, 40.8729, 84.1303)
Luminance0.4087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A4EB #E7EBA4
analogous
#A4C3EB #A8A4EB #CBA4EB
triadic
#A8A4EB #EBA8A4 #A4EBA8
tetradic
#A8A4EB #EBA4C3 #E7EBA4 #A4EBCB
square
#A8A4EB #EBA4C3 #E7EBA4 #A4EBCB
split-complementary
#A8A4EB #EBCBA4 #C3EBA4
monochromatic
#4840D5 #7872E0 #A8A4EB #D8D6F6 #E7E6F9

Accessibility & contrast

On white

2.29
#A8A4EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#A8A4EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A4EB
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A4EB#FFFFFF#000000##000000
##A8A4EB1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#90ADEE
Deuteranopia (green-blind)
#8FA9E9
Tritanopia (blue-blind)
#98B1BD
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8a4eb;
/* rgb */ color: rgb(168, 164, 235);
/* oklch */ color: oklch(74.9% 0.101 286.3);
Tailwind
colors: {
  custom: {
    50: '#c3bff1',
    500: '#a8a4eb',
    950: '#000000',
  },
}
SCSS
$custom: #a8a4eb;
$custom-light: #c3bff1;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a4eb",
  "rgb": {
    "r": 168,
    "g": 164,
    "b": 235
  },
  "hsl": {
    "h": 243.38,
    "s": 63.964,
    "l": 78.235
  },
  "oklch": {
    "l": 0.74857,
    "c": 0.10141,
    "h": 286.3
  },
  "luminance": 0.40874
}

Semantic roles & 50–950 ramp

primary
#A8A4EB
secondary
#F0F1DA
accent
#CC1AC2
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #A8A4EB

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

Preview Lab → · Contrast checker → · Palette generator →

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