#8C8AAA#8C8AAA

#8C8AAA is a light, muted blue. Relative luminance 0.267; OKLCH L 64.6% C 0.047 H 287.9°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8C8AAA
RGBrgb(140, 138, 170)
HSLhsl(244, 16%, 60%)
HSVhsv(244, 19%, 67%)
CMYKcmyk(17.6%, 18.8%, 0%, 33.3%)
CIE-LABlab(58.65, 7.54, -16.57)
CIE-LCHlch(58.65, 18.21, 294.47°)
OKLaboklab(64.64% 0.0146 -0.0451)
OKLCHoklch(64.64% 0.047 287.9)
XYZxyz(27.1578, 26.6544, 41.7364)
Luminance0.2666 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8AAA #A8AA8A
analogous
#8A98AA #8C8AAA #9C8AAA
triadic
#8C8AAA #AA8C8A #8AAA8C
tetradic
#8C8AAA #AA8A98 #A8AA8A #8AAA9C
square
#8C8AAA #AA8A98 #A8AA8A #8AAA9C
split-complementary
#8C8AAA #AA9C8A #98AA8A
monochromatic
#504E6C #6A688F #8C8AAA #AFADC4 #D2D1DE

Accessibility & contrast

On white

3.32
#8C8AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#8C8AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8AAA
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8AAA#FFFFFF#000000##000000
##8C8AAA1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#838EAB
Deuteranopia (green-blind)
#828CA9
Tritanopia (blue-blind)
#868F95
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8c8aaa;
/* rgb */ color: rgb(140, 138, 170);
/* oklch */ color: oklch(64.6% 0.047 287.9);
Tailwind
colors: {
  custom: {
    50: '#aeacc3',
    500: '#8c8aaa',
    950: '#000000',
  },
}
SCSS
$custom: #8c8aaa;
$custom-light: #aeacc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8aaa",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 243.75,
    "s": 15.842,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64637,
    "c": 0.04744,
    "h": 287.9
  },
  "luminance": 0.26655
}

Semantic roles & 50–950 ramp

primary
#8C8AAA
secondary
#CDCEC2
accent
#9A4B95
background
#FAFAFC
surface
#F4F4F8
border
#CECED1
text
#101012
muted
#7F7F81

Preview Lab

Preview with #8C8AAA

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

Preview Lab → · Contrast checker → · Palette generator →

#8C8AAA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva