#8A8BD7#8A8BD7

#8A8BD7 is a light, moderate blue. Relative luminance 0.288; OKLCH L 66.7% C 0.112 H 282.4°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8A8BD7
RGBrgb(138, 139, 215)
HSLhsl(239, 49%, 69%)
HSVhsv(239, 36%, 84%)
CMYKcmyk(35.8%, 35.3%, 0%, 15.7%)
CIE-LABlab(60.58, 17.66, -39.04)
CIE-LCHlch(60.58, 42.85, 294.34°)
OKLaboklab(66.69% 0.0239 -0.1092)
OKLCHoklch(66.69% 0.112 282.4)
XYZxyz(31.9762, 28.7737, 68.1459)
Luminance0.2878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BD7 #D7D68A
analogous
#8AB2D7 #8A8BD7 #B08AD7
triadic
#8A8BD7 #D78A8B #8BD78A
tetradic
#8A8BD7 #D78AB2 #D7D68A #8AD7B0
square
#8A8BD7 #D78AB2 #D7D68A #8AD7B0
split-complementary
#8A8BD7 #D7B08A #B2D78A
monochromatic
#3B3CAC #5C5EC7 #8A8BD7 #B8B8E7 #E5E5F6

Accessibility & contrast

On white

3.11
#8A8BD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#8A8BD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8BD7
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BD7#FFFFFF#000000##000000
##8A8BD71.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7395DA
Deuteranopia (green-blind)
#7090D5
Tritanopia (blue-blind)
#7599A7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a8bd7;
/* rgb */ color: rgb(138, 139, 215);
/* oklch */ color: oklch(66.7% 0.112 282.4);
Tailwind
colors: {
  custom: {
    50: '#aeace3',
    500: '#8a8bd7',
    950: '#000000',
  },
}
SCSS
$custom: #8a8bd7;
$custom-light: #aeace3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8bd7",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 215
  },
  "hsl": {
    "h": 239.221,
    "s": 49.045,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6669,
    "c": 0.11182,
    "h": 282.4
  },
  "luminance": 0.28775
}

Semantic roles & 50–950 ramp

primary
#8A8BD7
secondary
#EAE9D3
accent
#BA29BC
background
#FAFAFD
surface
#F5F4FB
border
#CFCED4
text
#111015
muted
#807F83

Preview Lab

Preview with #8A8BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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