#A8A8FB#A8A8FB

#A8A8FB is a light, moderate blue. Relative luminance 0.433; OKLCH L 76.4% C 0.118 H 283.2°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#A8A8FB
RGBrgb(168, 168, 251)
HSLhsl(240, 91%, 82%)
HSVhsv(240, 33%, 98%)
CMYKcmyk(33.1%, 33.1%, 0%, 1.6%)
CIE-LABlab(71.75, 18.70, -41.21)
CIE-LCHlch(71.75, 45.25, 294.41°)
OKLaboklab(76.36% 0.0271 -0.1149)
OKLCHoklch(76.36% 0.118 283.2)
XYZxyz(47.5589, 43.2937, 97.0988)
Luminance0.4330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A8FB #FBFBA8
analogous
#A8D2FB #A8A8FB #D2A8FB
triadic
#A8A8FB #FBA8A8 #A8FBA8
tetradic
#A8A8FB #FBA8D2 #FBFBA8 #A8FBD2
square
#A8A8FB #FBA8D2 #FBFBA8 #A8FBD2
split-complementary
#A8A8FB #FBD2A8 #D2FBA8
monochromatic
#3333F6 #6D6DF8 #A8A8FB #E2E2FE #E2E2FE

Accessibility & contrast

On white

2.17
#A8A8FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.66
#A8A8FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A8FB
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A8FB#FFFFFF#000000##000000
##A8A8FB1.002.179.669.66
#FFFFFF2.171.0021.0021.00
#0000009.6621.001.001.00
##0000009.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB3FE
Deuteranopia (green-blind)
#8CADF9
Tritanopia (blue-blind)
#92B7C6
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a8a8fb;
/* rgb */ color: rgb(168, 168, 251);
/* oklch */ color: oklch(76.4% 0.118 283.2);
Tailwind
colors: {
  custom: {
    50: '#c4c1fd',
    500: '#a8a8fb',
    950: '#000000',
  },
}
SCSS
$custom: #a8a8fb;
$custom-light: #c4c1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a8fb",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 251
  },
  "hsl": {
    "h": 240,
    "s": 91.209,
    "l": 82.157
  },
  "oklch": {
    "l": 0.7636,
    "c": 0.11808,
    "h": 283.2
  },
  "luminance": 0.43295
}

Semantic roles & 50–950 ramp

primary
#A8A8FB
secondary
#F6F6D5
accent
#E600E5
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A8FB

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

Preview Lab → · Contrast checker → · Palette generator →

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