#A8A8F6#A8A8F6

#A8A8F6 is a light, moderate blue. Relative luminance 0.430; OKLCH L 76.1% C 0.111 H 283.4°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#A8A8F6
RGBrgb(168, 168, 246)
HSLhsl(240, 81%, 81%)
HSVhsv(240, 32%, 96%)
CMYKcmyk(31.7%, 31.7%, 0%, 3.5%)
CIE-LABlab(71.54, 17.43, -38.83)
CIE-LCHlch(71.54, 42.56, 294.18°)
OKLaboklab(76.13% 0.0258 -0.1081)
OKLCHoklch(76.13% 0.111 283.4)
XYZxyz(46.7811, 42.9826, 93.0026)
Luminance0.4298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A8F6 #F6F6A8
analogous
#A8CFF6 #A8A8F6 #CFA8F6
triadic
#A8A8F6 #F6A8A8 #A8F6A8
tetradic
#A8A8F6 #F6A8CF #F6F6A8 #A8F6CF
square
#A8A8F6 #F6A8CF #F6F6A8 #A8F6CF
split-complementary
#A8A8F6 #F6CFA8 #CFF6A8
monochromatic
#3939EB #7171F0 #A8A8F6 #DFDFFC #E3E3FC

Accessibility & contrast

On white

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

On black

9.60
#A8A8F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A8F6
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A8F6#FFFFFF#000000##000000
##A8A8F61.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8a8f6;
/* rgb */ color: rgb(168, 168, 246);
/* oklch */ color: oklch(76.1% 0.111 283.4);
Tailwind
colors: {
  custom: {
    50: '#c4c1f9',
    500: '#a8a8f6',
    950: '#000000',
  },
}
SCSS
$custom: #a8a8f6;
$custom-light: #c4c1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a8f6",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 246
  },
  "hsl": {
    "h": 240,
    "s": 81.25,
    "l": 81.176
  },
  "oklch": {
    "l": 0.76128,
    "c": 0.11112,
    "h": 283.4
  },
  "luminance": 0.42984
}

Semantic roles & 50–950 ramp

primary
#A8A8F6
secondary
#F4F4D7
accent
#DE08DE
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A8F6

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

Preview Lab → · Contrast checker → · Palette generator →

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