#8D8AAA#8D8AAA

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

Color values

HEX#8D8AAA
RGBrgb(141, 138, 170)
HSLhsl(246, 16%, 60%)
HSVhsv(246, 19%, 67%)
CMYKcmyk(17.1%, 18.8%, 0%, 33.3%)
CIE-LABlab(58.73, 7.87, -16.44)
CIE-LCHlch(58.73, 18.23, 295.59°)
OKLaboklab(64.72% 0.0157 -0.0448)
OKLCHoklch(64.72% 0.047 289.3)
XYZxyz(27.3271, 26.7417, 41.7444)
Luminance0.2674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8AAA #A7AA8A
analogous
#8A97AA #8D8AAA #9D8AAA
triadic
#8D8AAA #AA8D8A #8AAA8D
tetradic
#8D8AAA #AA8A97 #A7AA8A #8AAA9D
square
#8D8AAA #AA8A97 #A7AA8A #8AAA9D
split-complementary
#8D8AAA #AA9D8A #97AA8A
monochromatic
#514E6C #6C688F #8D8AAA #B0ADC4 #D2D1DE

Accessibility & contrast

On white

3.31
#8D8AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#8D8AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8AAA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8AAA#FFFFFF#000000##000000
##8D8AAA1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d8aaa;
/* rgb */ color: rgb(141, 138, 170);
/* oklch */ color: oklch(64.7% 0.047 289.3);
Tailwind
colors: {
  custom: {
    50: '#aeacc3',
    500: '#8d8aaa',
    950: '#000000',
  },
}
SCSS
$custom: #8d8aaa;
$custom-light: #aeacc3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8aaa",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 245.625,
    "s": 15.842,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64721,
    "c": 0.04744,
    "h": 289.3
  },
  "luminance": 0.26742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D8AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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