#A8A8F5#A8A8F5

#A8A8F5 is a light, moderate blue. Relative luminance 0.429; OKLCH L 76.1% C 0.110 H 283.5°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#A8A8F5
RGBrgb(168, 168, 245)
HSLhsl(240, 79%, 81%)
HSVhsv(240, 31%, 96%)
CMYKcmyk(31.4%, 31.4%, 0%, 3.9%)
CIE-LABlab(71.50, 17.18, -38.35)
CIE-LCHlch(71.50, 42.02, 294.13°)
OKLaboklab(76.08% 0.0256 -0.1067)
OKLCHoklch(76.08% 0.11 283.5)
XYZxyz(46.6281, 42.9214, 92.1964)
Luminance0.4292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A8F5 #F5F5A8
analogous
#A8CEF5 #A8A8F5 #CEA8F5
triadic
#A8A8F5 #F5A8A8 #A8F5A8
tetradic
#A8A8F5 #F5A8CE #F5F5A8 #A8F5CE
square
#A8A8F5 #F5A8CE #F5F5A8 #A8F5CE
split-complementary
#A8A8F5 #F5CEA8 #CEF5A8
monochromatic
#3A3AE8 #7171EF #A8A8F5 #DFDFFB #E4E4FC

Accessibility & contrast

On white

2.19
#A8A8F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#A8A8F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A8F5
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A8F5#FFFFFF#000000##000000
##A8A8F51.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B2F8
Deuteranopia (green-blind)
#8FADF3
Tritanopia (blue-blind)
#94B6C4
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a8a8f5;
/* rgb */ color: rgb(168, 168, 245);
/* oklch */ color: oklch(76.1% 0.110 283.5);
Tailwind
colors: {
  custom: {
    50: '#c4c1f8',
    500: '#a8a8f5',
    950: '#000000',
  },
}
SCSS
$custom: #a8a8f5;
$custom-light: #c4c1f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a8f5",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 245
  },
  "hsl": {
    "h": 240,
    "s": 79.381,
    "l": 80.98
  },
  "oklch": {
    "l": 0.76082,
    "c": 0.10972,
    "h": 283.5
  },
  "luminance": 0.42923
}

Semantic roles & 50–950 ramp

primary
#A8A8F5
secondary
#F4F4D7
accent
#DC0ADC
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A8F5

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

Preview Lab → · Contrast checker → · Palette generator →

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