#8A8CD0#8A8CD0

#8A8CD0 is a light, moderate blue. Relative luminance 0.287; OKLCH L 66.5% C 0.100 H 282.0°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8A8CD0
RGBrgb(138, 140, 208)
HSLhsl(238, 43%, 68%)
HSVhsv(238, 34%, 82%)
CMYKcmyk(33.7%, 32.7%, 0%, 18.4%)
CIE-LABlab(60.53, 15.21, -35.20)
CIE-LCHlch(60.53, 38.35, 293.36°)
OKLaboklab(66.55% 0.0209 -0.0981)
OKLCHoklch(66.55% 0.1 282)
XYZxyz(31.2413, 28.7125, 63.5583)
Luminance0.2871 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CD0 #D0CE8A
analogous
#8AAFD0 #8A8CD0 #AB8AD0
triadic
#8A8CD0 #D08A8C #8CD08A
tetradic
#8A8CD0 #D08AAF #D0CE8A #8AD0AB
square
#8A8CD0 #D08AAF #D0CE8A #8AD0AB
split-complementary
#8A8CD0 #D0AB8A #AFD08A
monochromatic
#4043A0 #5E61BE #8A8CD0 #B6B7E2 #E1E2F3

Accessibility & contrast

On white

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

On black

6.74
#8A8CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8CD0
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CD0#FFFFFF#000000##000000
##8A8CD01.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7794D3
Deuteranopia (green-blind)
#7490CE
Tritanopia (blue-blind)
#7899A5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a8cd0;
/* rgb */ color: rgb(138, 140, 208);
/* oklch */ color: oklch(66.5% 0.100 282.0);
Tailwind
colors: {
  custom: {
    50: '#aeadde',
    500: '#8a8cd0',
    950: '#000000',
  },
}
SCSS
$custom: #8a8cd0;
$custom-light: #aeadde;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8cd0",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 208
  },
  "hsl": {
    "h": 238.286,
    "s": 42.683,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66545,
    "c": 0.10035,
    "h": 282
  },
  "luminance": 0.28714
}

Semantic roles & 50–950 ramp

primary
#8A8CD0
secondary
#E6E5D0
accent
#B230B6
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A8CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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