#8A8CD6#8A8CD6

#8A8CD6 is a light, moderate blue. Relative luminance 0.290; OKLCH L 66.8% C 0.109 H 281.8°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8A8CD6
RGBrgb(138, 140, 214)
HSLhsl(238, 48%, 69%)
HSVhsv(238, 36%, 84%)
CMYKcmyk(35.5%, 34.6%, 0%, 16.1%)
CIE-LABlab(60.79, 16.81, -38.15)
CIE-LCHlch(60.79, 41.69, 293.78°)
OKLaboklab(66.84% 0.0224 -0.1066)
OKLCHoklch(66.84% 0.109 281.8)
XYZxyz(31.9935, 29.0134, 67.5197)
Luminance0.2901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CD6 #D6D48A
analogous
#8AB2D6 #8A8CD6 #AE8AD6
triadic
#8A8CD6 #D68A8C #8CD68A
tetradic
#8A8CD6 #D68AB2 #D6D48A #8AD6AE
square
#8A8CD6 #D68AB2 #D6D48A #8AD6AE
split-complementary
#8A8CD6 #D6AE8A #B2D68A
monochromatic
#3C3EAA #5D5FC6 #8A8CD6 #B7B9E6 #E5E5F6

Accessibility & contrast

On white

3.09
#8A8CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#8A8CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8CD6
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CD6#FFFFFF#000000##000000
##8A8CD61.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7595D9
Deuteranopia (green-blind)
#7190D4
Tritanopia (blue-blind)
#759AA7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a8cd6;
/* rgb */ color: rgb(138, 140, 214);
/* oklch */ color: oklch(66.8% 0.109 281.8);
Tailwind
colors: {
  custom: {
    50: '#aeade3',
    500: '#8a8cd6',
    950: '#000000',
  },
}
SCSS
$custom: #8a8cd6;
$custom-light: #aeade3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8cd6",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 214
  },
  "hsl": {
    "h": 238.421,
    "s": 48.101,
    "l": 69.02
  },
  "oklch": {
    "l": 0.66838,
    "c": 0.10897,
    "h": 281.8
  },
  "luminance": 0.29014
}

Semantic roles & 50–950 ramp

primary
#8A8CD6
secondary
#E9E8D3
accent
#B82ABB
background
#FAFAFD
surface
#F5F4FB
border
#CFCED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A8CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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