#A8A8F7#A8A8F7

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

Color values

HEX#A8A8F7
RGBrgb(168, 168, 247)
HSLhsl(240, 83%, 81%)
HSVhsv(240, 32%, 97%)
CMYKcmyk(32%, 32%, 0%, 3.1%)
CIE-LABlab(71.58, 17.68, -39.30)
CIE-LCHlch(71.58, 43.10, 294.23°)
OKLaboklab(76.17% 0.0261 -0.1094)
OKLCHoklch(76.17% 0.113 283.4)
XYZxyz(46.9350, 43.0442, 93.8131)
Luminance0.4304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A8F7 #F7F7A8
analogous
#A8D0F7 #A8A8F7 #D0A8F7
triadic
#A8A8F7 #F7A8A8 #A8F7A8
tetradic
#A8A8F7 #F7A8D0 #F7F7A8 #A8F7D0
square
#A8A8F7 #F7A8D0 #F7F7A8 #A8F7D0
split-complementary
#A8A8F7 #F7D0A8 #D0F7A8
monochromatic
#3838ED #7070F2 #A8A8F7 #E0E0FC #E3E3FC

Accessibility & contrast

On white

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

On black

9.61
#A8A8F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A8F7
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A8F7#FFFFFF#000000##000000
##A8A8F71.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B2FA
Deuteranopia (green-blind)
#8EADF5
Tritanopia (blue-blind)
#94B7C5
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a8a8f7;
/* rgb */ color: rgb(168, 168, 247);
/* oklch */ color: oklch(76.2% 0.113 283.4);
Tailwind
colors: {
  custom: {
    50: '#c4c1fa',
    500: '#a8a8f7',
    950: '#000000',
  },
}
SCSS
$custom: #a8a8f7;
$custom-light: #c4c1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a8f7",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 247
  },
  "hsl": {
    "h": 240,
    "s": 83.158,
    "l": 81.373
  },
  "oklch": {
    "l": 0.76174,
    "c": 0.11251,
    "h": 283.4
  },
  "luminance": 0.43045
}

Semantic roles & 50–950 ramp

primary
#A8A8F7
secondary
#F4F4D7
accent
#E006E0
background
#FCFBFF
surface
#F8F7FF
border
#D1D0D7
text
#131217
muted
#828185

Preview Lab

Preview with #A8A8F7

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

Preview Lab → · Contrast checker → · Palette generator →

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