#A8A8FA#A8A8FA

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

Color values

HEX#A8A8FA
RGBrgb(168, 168, 250)
HSLhsl(240, 89%, 82%)
HSVhsv(240, 33%, 98%)
CMYKcmyk(32.8%, 32.8%, 0%, 2%)
CIE-LABlab(71.71, 18.44, -40.73)
CIE-LCHlch(71.71, 44.71, 294.36°)
OKLaboklab(76.31% 0.0268 -0.1136)
OKLCHoklch(76.31% 0.117 283.3)
XYZxyz(47.4017, 43.2308, 96.2708)
Luminance0.4323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A8FA #FAFAA8
analogous
#A8D1FA #A8A8FA #D1A8FA
triadic
#A8A8FA #FAA8A8 #A8FAA8
tetradic
#A8A8FA #FAA8D1 #FAFAA8 #A8FAD1
square
#A8A8FA #FAA8D1 #FAFAA8 #A8FAD1
split-complementary
#A8A8FA #FAD1A8 #D1FAA8
monochromatic
#3434F3 #6E6EF7 #A8A8FA #E2E2FD #E2E2FD

Accessibility & contrast

On white

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

On black

9.65
#A8A8FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A8FA
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A8FA#FFFFFF#000000##000000
##A8A8FA1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB2FD
Deuteranopia (green-blind)
#8CADF8
Tritanopia (blue-blind)
#93B7C6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a8a8fa;
/* rgb */ color: rgb(168, 168, 250);
/* oklch */ color: oklch(76.3% 0.117 283.3);
Tailwind
colors: {
  custom: {
    50: '#c4c1fc',
    500: '#a8a8fa',
    950: '#000000',
  },
}
SCSS
$custom: #a8a8fa;
$custom-light: #c4c1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a8fa",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 250
  },
  "hsl": {
    "h": 240,
    "s": 89.13,
    "l": 81.961
  },
  "oklch": {
    "l": 0.76313,
    "c": 0.11669,
    "h": 283.3
  },
  "luminance": 0.43232
}

Semantic roles & 50–950 ramp

primary
#A8A8FA
secondary
#F5F5D6
accent
#E600E5
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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