#A8A8FF#A8A8FF

#A8A8FF is a light, vivid blue. Relative luminance 0.435; OKLCH L 76.5% C 0.124 H 283.1°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#A8A8FF
RGBrgb(168, 168, 255)
HSLhsl(240, 100%, 83%)
HSVhsv(240, 34%, 100%)
CMYKcmyk(34.1%, 34.1%, 0%, 0%)
CIE-LABlab(71.93, 19.72, -43.10)
CIE-LCHlch(71.93, 47.40, 294.59°)
OKLaboklab(76.55% 0.028 -0.1204)
OKLCHoklch(76.55% 0.124 283.1)
XYZxyz(48.1961, 43.5486, 100.4547)
Luminance0.4355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A8FF #FFFFA8
analogous
#A8D3FF #A8A8FF #D3A8FF
triadic
#A8A8FF #FFA8A8 #A8FFA8
tetradic
#A8A8FF #FFA8D3 #FFFFA8 #A8FFD3
square
#A8A8FF #FFA8D3 #FFFFA8 #A8FFD3
split-complementary
#A8A8FF #FFD3A8 #D3FFA8
monochromatic
#2E2EFF #6B6BFF #A8A8FF #E0E0FF #E0E0FF

Accessibility & contrast

On white

2.16
#A8A8FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#A8A8FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A8FF
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A8FF#FFFFFF#000000##000000
##A8A8FF1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB3FF
Deuteranopia (green-blind)
#8AADFD
Tritanopia (blue-blind)
#91B8C8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a8a8ff;
/* rgb */ color: rgb(168, 168, 255);
/* oklch */ color: oklch(76.5% 0.124 283.1);
Tailwind
colors: {
  custom: {
    50: '#c4c1ff',
    500: '#a8a8ff',
    950: '#000000',
  },
}
SCSS
$custom: #a8a8ff;
$custom-light: #c4c1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a8ff",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 255
  },
  "hsl": {
    "h": 240,
    "s": 100,
    "l": 82.941
  },
  "oklch": {
    "l": 0.76548,
    "c": 0.12363,
    "h": 283.1
  },
  "luminance": 0.4355
}

Semantic roles & 50–950 ramp

primary
#A8A8FF
secondary
#F7F7D4
accent
#E600E5
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131218
muted
#828186

Preview Lab

Preview with #A8A8FF

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

Preview Lab → · Contrast checker → · Palette generator →

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