#8A8CD8#8A8CD8

#8A8CD8 is a light, moderate blue. Relative luminance 0.291; OKLCH L 66.9% C 0.112 H 281.8°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8A8CD8
RGBrgb(138, 140, 216)
HSLhsl(238, 50%, 69%)
HSVhsv(238, 36%, 85%)
CMYKcmyk(36.1%, 35.2%, 0%, 15.3%)
CIE-LABlab(60.88, 17.34, -39.12)
CIE-LCHlch(60.88, 42.80, 293.91°)
OKLaboklab(66.94% 0.0228 -0.1095)
OKLCHoklch(66.94% 0.112 281.8)
XYZxyz(32.2505, 29.1162, 68.8732)
Luminance0.2912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CD8 #D8D68A
analogous
#8AB3D8 #8A8CD8 #AF8AD8
triadic
#8A8CD8 #D88A8C #8CD88A
tetradic
#8A8CD8 #D88AB3 #D8D68A #8AD8AF
square
#8A8CD8 #D88AB3 #D8D68A #8AD8AF
split-complementary
#8A8CD8 #D8AF8A #B3D88A
monochromatic
#3A3DAE #5C5FC9 #8A8CD8 #B8B9E7 #E6E6F7

Accessibility & contrast

On white

3.08
#8A8CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#8A8CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8CD8
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CD8#FFFFFF#000000##000000
##8A8CD81.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7496DB
Deuteranopia (green-blind)
#7090D6
Tritanopia (blue-blind)
#749BA8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a8cd8;
/* rgb */ color: rgb(138, 140, 216);
/* oklch */ color: oklch(66.9% 0.112 281.8);
Tailwind
colors: {
  custom: {
    50: '#afade4',
    500: '#8a8cd8',
    950: '#000000',
  },
}
SCSS
$custom: #8a8cd8;
$custom-light: #afade4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8cd8",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 216
  },
  "hsl": {
    "h": 238.462,
    "s": 50,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66937,
    "c": 0.11184,
    "h": 281.8
  },
  "luminance": 0.29117
}

Semantic roles & 50–950 ramp

primary
#8A8CD8
secondary
#EAEAD4
accent
#BA28BD
background
#FAFAFE
surface
#F5F4FC
border
#CFCED5
text
#111015
muted
#807F84

Preview Lab

Preview with #8A8CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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