#8A8CD1#8A8CD1

#8A8CD1 is a light, moderate blue. Relative luminance 0.288; OKLCH L 66.6% C 0.102 H 282.0°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8A8CD1
RGBrgb(138, 140, 209)
HSLhsl(238, 44%, 68%)
HSVhsv(238, 34%, 82%)
CMYKcmyk(34%, 33%, 0%, 18%)
CIE-LABlab(60.57, 15.47, -35.70)
CIE-LCHlch(60.57, 38.91, 293.43°)
OKLaboklab(66.59% 0.0211 -0.0996)
OKLCHoklch(66.59% 0.102 282)
XYZxyz(31.3648, 28.7619, 64.2083)
Luminance0.2876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CD1 #D1CF8A
analogous
#8AAFD1 #8A8CD1 #AB8AD1
triadic
#8A8CD1 #D18A8C #8CD18A
tetradic
#8A8CD1 #D18AAF #D1CF8A #8AD1AB
square
#8A8CD1 #D18AAF #D1CF8A #8AD1AB
split-complementary
#8A8CD1 #D1AB8A #AFD18A
monochromatic
#3F42A1 #5E61C0 #8A8CD1 #B6B7E2 #E2E2F4

Accessibility & contrast

On white

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

On black

6.75
#8A8CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8CD1
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CD1#FFFFFF#000000##000000
##8A8CD11.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7795D4
Deuteranopia (green-blind)
#7490CF
Tritanopia (blue-blind)
#7799A5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a8cd1;
/* rgb */ color: rgb(138, 140, 209);
/* oklch */ color: oklch(66.6% 0.102 282.0);
Tailwind
colors: {
  custom: {
    50: '#aeaddf',
    500: '#8a8cd1',
    950: '#000000',
  },
}
SCSS
$custom: #8a8cd1;
$custom-light: #aeaddf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8cd1",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 209
  },
  "hsl": {
    "h": 238.31,
    "s": 43.558,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66593,
    "c": 0.10179,
    "h": 282
  },
  "luminance": 0.28763
}

Semantic roles & 50–950 ramp

primary
#8A8CD1
secondary
#E6E6D1
accent
#B32FB7
background
#FAFAFD
surface
#F5F4FB
border
#CFCED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A8CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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