#A8A8EB#A8A8EB

#A8A8EB is a light, moderate blue. Relative luminance 0.423; OKLCH L 75.6% C 0.096 H 283.9°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#A8A8EB
RGBrgb(168, 168, 235)
HSLhsl(240, 63%, 79%)
HSVhsv(240, 29%, 92%)
CMYKcmyk(28.5%, 28.5%, 0%, 7.8%)
CIE-LABlab(71.10, 14.70, -33.54)
CIE-LCHlch(71.10, 36.61, 293.66°)
OKLaboklab(75.64% 0.023 -0.0929)
OKLCHoklch(75.64% 0.096 283.9)
XYZxyz(45.1426, 42.3272, 84.3727)
Luminance0.4233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A8EB #EBEBA8
analogous
#A8CAEB #A8A8EB #CAA8EB
triadic
#A8A8EB #EBA8A8 #A8EBA8
tetradic
#A8A8EB #EBA8CA #EBEBA8 #A8EBCA
square
#A8A8EB #EBA8CA #EBEBA8 #A8EBCA
split-complementary
#A8A8EB #EBCAA8 #CAEBA8
monochromatic
#4444D4 #7676E0 #A8A8EB #DADAF6 #E6E6F9

Accessibility & contrast

On white

2.22
#A8A8EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#A8A8EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A8EB
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A8EB#FFFFFF#000000##000000
##A8A8EB1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B0EE
Deuteranopia (green-blind)
#93ACE9
Tritanopia (blue-blind)
#98B4C0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a8a8eb;
/* rgb */ color: rgb(168, 168, 235);
/* oklch */ color: oklch(75.6% 0.096 283.9);
Tailwind
colors: {
  custom: {
    50: '#c3c1f1',
    500: '#a8a8eb',
    950: '#000000',
  },
}
SCSS
$custom: #a8a8eb;
$custom-light: #c3c1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a8eb",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 235
  },
  "hsl": {
    "h": 240,
    "s": 62.617,
    "l": 79.02
  },
  "oklch": {
    "l": 0.75636,
    "c": 0.09569,
    "h": 283.9
  },
  "luminance": 0.42328
}

Semantic roles & 50–950 ramp

primary
#A8A8EB
secondary
#F1F1DA
accent
#CA1BCA
background
#FCFBFE
surface
#F8F7FD
border
#D1D0D5
text
#131217
muted
#828185

Preview Lab

Preview with #A8A8EB

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

Preview Lab → · Contrast checker → · Palette generator →

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