#A8A8DF#A8A8DF

#A8A8DF is a light, moderate blue. Relative luminance 0.417; OKLCH L 75.1% C 0.079 H 284.3°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#A8A8DF
RGBrgb(168, 168, 223)
HSLhsl(240, 46%, 77%)
HSVhsv(240, 25%, 87%)
CMYKcmyk(24.7%, 24.7%, 0%, 12.5%)
CIE-LABlab(70.63, 11.80, -27.69)
CIE-LCHlch(70.63, 30.10, 293.08°)
OKLaboklab(75.13% 0.0195 -0.0762)
OKLCHoklch(75.13% 0.079 284.3)
XYZxyz(43.4670, 41.6569, 75.5482)
Luminance0.4166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A8DF #DFDFA8
analogous
#A8C4DF #A8A8DF #C4A8DF
triadic
#A8A8DF #DFA8A8 #A8DFA8
tetradic
#A8A8DF #DFA8C4 #DFDFA8 #A8DFC4
square
#A8A8DF #DFA8C4 #DFDFA8 #A8DFC4
split-complementary
#A8A8DF #DFC4A8 #C4DFA8
monochromatic
#4F4FBE #7B7BCF #A8A8DF #D5D5EF #E9E9F7

Accessibility & contrast

On white

2.25
#A8A8DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#A8A8DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A8DF
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A8DF#FFFFFF#000000##000000
##A8A8DF1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99AEE1
Deuteranopia (green-blind)
#98ABDE
Tritanopia (blue-blind)
#9BB2BB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a8a8df;
/* rgb */ color: rgb(168, 168, 223);
/* oklch */ color: oklch(75.1% 0.079 284.3);
Tailwind
colors: {
  custom: {
    50: '#c2c1e9',
    500: '#a8a8df',
    950: '#000000',
  },
}
SCSS
$custom: #a8a8df;
$custom-light: #c2c1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a8df",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 223
  },
  "hsl": {
    "h": 240,
    "s": 46.218,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75125,
    "c": 0.0787,
    "h": 284.3
  },
  "luminance": 0.41658
}

Semantic roles & 50–950 ramp

primary
#A8A8DF
secondary
#EEEEDD
accent
#B92CB9
background
#FCFBFE
surface
#F8F7FC
border
#D1D0D5
text
#121216
muted
#818184

Preview Lab

Preview with #A8A8DF

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

Preview Lab → · Contrast checker → · Palette generator →

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