#A8A8DA#A8A8DA

#A8A8DA is a light, moderate blue. Relative luminance 0.414; OKLCH L 74.9% C 0.072 H 284.5°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#A8A8DA
RGBrgb(168, 168, 218)
HSLhsl(240, 40%, 76%)
HSVhsv(240, 23%, 85%)
CMYKcmyk(22.9%, 22.9%, 0%, 14.5%)
CIE-LABlab(70.45, 10.62, -25.23)
CIE-LCHlch(70.45, 27.38, 292.83°)
OKLaboklab(74.92% 0.018 -0.0693)
OKLCHoklch(74.92% 0.072 284.5)
XYZxyz(42.8029, 41.3913, 72.0503)
Luminance0.4139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8A8DA #DADAA8
analogous
#A8C1DA #A8A8DA #C1A8DA
triadic
#A8A8DA #DAA8A8 #A8DAA8
tetradic
#A8A8DA #DAA8C1 #DADAA8 #A8DAC1
square
#A8A8DA #DAA8C1 #DADAA8 #A8DAC1
split-complementary
#A8A8DA #DAC1A8 #C1DAA8
monochromatic
#5252B5 #7D7DC8 #A8A8DA #D3D3EC #EAEAF6

Accessibility & contrast

On white

2.26
#A8A8DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#A8A8DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8A8DA
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8A8DA#FFFFFF#000000##000000
##A8A8DA1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BAEDC
Deuteranopia (green-blind)
#9AABD9
Tritanopia (blue-blind)
#9DB1B9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8a8da;
/* rgb */ color: rgb(168, 168, 218);
/* oklch */ color: oklch(74.9% 0.072 284.5);
Tailwind
colors: {
  custom: {
    50: '#c2c1e5',
    500: '#a8a8da',
    950: '#000000',
  },
}
SCSS
$custom: #a8a8da;
$custom-light: #c2c1e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a8a8da",
  "rgb": {
    "r": 168,
    "g": 168,
    "b": 218
  },
  "hsl": {
    "h": 240,
    "s": 40.323,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74921,
    "c": 0.07158,
    "h": 284.5
  },
  "luminance": 0.41392
}

Semantic roles & 50–950 ramp

primary
#A8A8DA
secondary
#EDEDDE
accent
#B332B3
background
#FCFBFE
surface
#F8F7FC
border
#D1D0D5
text
#121215
muted
#818184

Preview Lab

Preview with #A8A8DA

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

Preview Lab → · Contrast checker → · Palette generator →

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