#A8A5EB#A8A5EB

#A8A5EB is a light, moderate blue. Relative luminance 0.412; OKLCH L 75.1% C 0.100 H 285.7°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#A8A5EB
RGBrgb(168, 165, 235)
HSLhsl(243, 64%, 78%)
HSVhsv(243, 30%, 92%)
CMYKcmyk(28.5%, 29.8%, 0%, 7.8%)
CIE-LABlab(70.34, 16.38, -34.71)
CIE-LCHlch(70.34, 38.38, 295.26°)
OKLaboklab(75.05% 0.027 -0.0962)
OKLCHoklch(75.05% 0.1 285.7)
XYZxyz(44.5951, 41.2322, 84.1902)
Luminance0.4123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A5EB #E8EBA5
analogous
#A5C5EB #A8A5EB #CBA5EB
triadic
#A8A5EB #EBA8A5 #A5EBA8
tetradic
#A8A5EB #EBA5C5 #E8EBA5 #A5EBCB
square
#A8A5EB #EBA5C5 #E8EBA5 #A5EBCB
split-complementary
#A8A5EB #EBCBA5 #C5EBA5
monochromatic
#4741D5 #7873E0 #A8A5EB #D8D7F6 #E7E6F9

Accessibility & contrast

On white

2.27
#A8A5EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#A8A5EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A5EB
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A5EB#FFFFFF#000000##000000
##A8A5EB1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AEEE
Deuteranopia (green-blind)
#90AAE9
Tritanopia (blue-blind)
#98B1BE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8a5eb;
/* rgb */ color: rgb(168, 165, 235);
/* oklch */ color: oklch(75.1% 0.100 285.7);
Tailwind
colors: {
  custom: {
    50: '#c3bff1',
    500: '#a8a5eb',
    950: '#000000',
  },
}
SCSS
$custom: #a8a5eb;
$custom-light: #c3bff1;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a5eb",
  "rgb": {
    "r": 168,
    "g": 165,
    "b": 235
  },
  "hsl": {
    "h": 242.571,
    "s": 63.636,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75051,
    "c": 0.09997,
    "h": 285.7
  },
  "luminance": 0.41233
}

Semantic roles & 50–950 ramp

primary
#A8A5EB
secondary
#F0F1DA
accent
#CB1AC4
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #A8A5EB

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

Preview Lab → · Contrast checker → · Palette generator →

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