#A8A8E5#A8A8E5

#A8A8E5 is a light, moderate blue. Relative luminance 0.420; OKLCH L 75.4% C 0.087 H 284.1°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#A8A8E5
RGBrgb(168, 168, 229)
HSLhsl(240, 54%, 78%)
HSVhsv(240, 27%, 90%)
CMYKcmyk(26.6%, 26.6%, 0%, 10.2%)
CIE-LABlab(70.86, 13.24, -30.62)
CIE-LCHlch(70.86, 33.36, 293.37°)
OKLaboklab(75.38% 0.0213 -0.0846)
OKLCHoklch(75.38% 0.087 284.1)
XYZxyz(44.2903, 41.9863, 79.8842)
Luminance0.4199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A8E5 #E5E5A8
analogous
#A8C6E5 #A8A8E5 #C6A8E5
triadic
#A8A8E5 #E5A8A8 #A8E5A8
tetradic
#A8A8E5 #E5A8C6 #E5E5A8 #A8E5C6
square
#A8A8E5 #E5A8C6 #E5E5A8 #A8E5C6
split-complementary
#A8A8E5 #E5C6A8 #C6E5A8
monochromatic
#4A4AC9 #7979D7 #A8A8E5 #D7D7F3 #E7E7F8

Accessibility & contrast

On white

2.23
#A8A8E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#A8A8E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A8E5
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A8E5#FFFFFF#000000##000000
##A8A8E51.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97AFE8
Deuteranopia (green-blind)
#95ACE3
Tritanopia (blue-blind)
#9AB3BD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a8a8e5;
/* rgb */ color: rgb(168, 168, 229);
/* oklch */ color: oklch(75.4% 0.087 284.1);
Tailwind
colors: {
  custom: {
    50: '#c3c1ed',
    500: '#a8a8e5',
    950: '#000000',
  },
}
SCSS
$custom: #a8a8e5;
$custom-light: #c3c1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a8e5",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 229
  },
  "hsl": {
    "h": 240,
    "s": 53.982,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75377,
    "c": 0.08721,
    "h": 284.1
  },
  "luminance": 0.41987
}

Semantic roles & 50–950 ramp

primary
#A8A8E5
secondary
#EFEFDC
accent
#C124C1
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A8A8E5

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

Preview Lab → · Contrast checker → · Palette generator →

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