#A8A8F9#A8A8F9

#A8A8F9 is a light, moderate blue. Relative luminance 0.432; OKLCH L 76.3% C 0.115 H 283.3°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#A8A8F9
RGBrgb(168, 168, 249)
HSLhsl(240, 87%, 82%)
HSVhsv(240, 33%, 98%)
CMYKcmyk(32.5%, 32.5%, 0%, 2.4%)
CIE-LABlab(71.67, 18.19, -40.26)
CIE-LCHlch(71.67, 44.18, 294.32°)
OKLaboklab(76.27% 0.0266 -0.1122)
OKLCHoklch(76.27% 0.115 283.3)
XYZxyz(47.2453, 43.1683, 95.4472)
Luminance0.4317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A8F9 #F9F9A8
analogous
#A8D1F9 #A8A8F9 #D1A8F9
triadic
#A8A8F9 #F9A8A8 #A8F9A8
tetradic
#A8A8F9 #F9A8D1 #F9F9A8 #A8F9D1
square
#A8A8F9 #F9A8D1 #F9F9A8 #A8F9D1
split-complementary
#A8A8F9 #F9D1A8 #D1F9A8
monochromatic
#3535F1 #6F6FF5 #A8A8F9 #E1E1FD #E2E2FD

Accessibility & contrast

On white

2.18
#A8A8F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#A8A8F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A8F9
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A8F9#FFFFFF#000000##000000
##A8A8F91.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B2FC
Deuteranopia (green-blind)
#8DADF7
Tritanopia (blue-blind)
#93B7C5
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a8a8f9;
/* rgb */ color: rgb(168, 168, 249);
/* oklch */ color: oklch(76.3% 0.115 283.3);
Tailwind
colors: {
  custom: {
    50: '#c4c1fb',
    500: '#a8a8f9',
    950: '#000000',
  },
}
SCSS
$custom: #a8a8f9;
$custom-light: #c4c1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a8f9",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 249
  },
  "hsl": {
    "h": 240,
    "s": 87.097,
    "l": 81.765
  },
  "oklch": {
    "l": 0.76266,
    "c": 0.11531,
    "h": 283.3
  },
  "luminance": 0.4317
}

Semantic roles & 50–950 ramp

primary
#A8A8F9
secondary
#F5F5D6
accent
#E402E4
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A8F9

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

Preview Lab → · Contrast checker → · Palette generator →

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