#8A8CD9#8A8CD9

#8A8CD9 is a light, moderate blue. Relative luminance 0.292; OKLCH L 67.0% C 0.113 H 281.7°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8A8CD9
RGBrgb(138, 140, 217)
HSLhsl(238, 51%, 70%)
HSVhsv(238, 36%, 85%)
CMYKcmyk(36.4%, 35.5%, 0%, 14.9%)
CIE-LABlab(60.93, 17.61, -39.61)
CIE-LCHlch(60.93, 43.35, 293.97°)
OKLaboklab(66.99% 0.0231 -0.1109)
OKLCHoklch(66.99% 0.113 281.7)
XYZxyz(32.3802, 29.1681, 69.5561)
Luminance0.2917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CD9 #D9D78A
analogous
#8AB4D9 #8A8CD9 #B08AD9
triadic
#8A8CD9 #D98A8C #8CD98A
tetradic
#8A8CD9 #D98AB4 #D9D78A #8AD9B0
square
#8A8CD9 #D98AB4 #D9D78A #8AD9B0
split-complementary
#8A8CD9 #D9B08A #B4D98A
monochromatic
#393CB0 #5C5FCA #8A8CD9 #B8B9E8 #E6E7F7

Accessibility & contrast

On white

3.07
#8A8CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#8A8CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8CD9
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CD9#FFFFFF#000000##000000
##8A8CD91.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7396DC
Deuteranopia (green-blind)
#7090D7
Tritanopia (blue-blind)
#749BA8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a8cd9;
/* rgb */ color: rgb(138, 140, 217);
/* oklch */ color: oklch(67.0% 0.113 281.7);
Tailwind
colors: {
  custom: {
    50: '#afade5',
    500: '#8a8cd9',
    950: '#000000',
  },
}
SCSS
$custom: #8a8cd9;
$custom-light: #afade5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8cd9",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 217
  },
  "hsl": {
    "h": 238.481,
    "s": 50.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.66987,
    "c": 0.11326,
    "h": 281.7
  },
  "luminance": 0.29169
}

Semantic roles & 50–950 ramp

primary
#8A8CD9
secondary
#EBEAD4
accent
#BB27BE
background
#FAFAFE
surface
#F5F4FC
border
#CFCED5
text
#111015
muted
#807F84

Preview Lab

Preview with #8A8CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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