#8A8CD5#8A8CD5

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

Color values

HEX#8A8CD5
RGBrgb(138, 140, 213)
HSLhsl(238, 47%, 69%)
HSVhsv(238, 35%, 84%)
CMYKcmyk(35.2%, 34.3%, 0%, 16.5%)
CIE-LABlab(60.75, 16.54, -37.66)
CIE-LCHlch(60.75, 41.13, 293.71°)
OKLaboklab(66.79% 0.0221 -0.1052)
OKLCHoklch(66.79% 0.108 281.9)
XYZxyz(31.8662, 28.9625, 66.8492)
Luminance0.2896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CD5 #D5D38A
analogous
#8AB2D5 #8A8CD5 #AE8AD5
triadic
#8A8CD5 #D58A8C #8CD58A
tetradic
#8A8CD5 #D58AB2 #D5D38A #8AD5AE
square
#8A8CD5 #D58AB2 #D5D38A #8AD5AE
split-complementary
#8A8CD5 #D5AE8A #B2D58A
monochromatic
#3C3FA8 #5D60C5 #8A8CD5 #B7B8E5 #E4E5F5

Accessibility & contrast

On white

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

On black

6.79
#8A8CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8CD5
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CD5#FFFFFF#000000##000000
##8A8CD51.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7595D8
Deuteranopia (green-blind)
#7290D3
Tritanopia (blue-blind)
#769AA7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a8cd5;
/* rgb */ color: rgb(138, 140, 213);
/* oklch */ color: oklch(66.8% 0.108 281.9);
Tailwind
colors: {
  custom: {
    50: '#aeade2',
    500: '#8a8cd5',
    950: '#000000',
  },
}
SCSS
$custom: #8a8cd5;
$custom-light: #aeade2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8cd5",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 213
  },
  "hsl": {
    "h": 238.4,
    "s": 47.17,
    "l": 68.824
  },
  "oklch": {
    "l": 0.66789,
    "c": 0.10754,
    "h": 281.9
  },
  "luminance": 0.28964
}

Semantic roles & 50–950 ramp

primary
#8A8CD5
secondary
#E8E8D2
accent
#B72BBA
background
#FAFAFD
surface
#F5F4FB
border
#CFCED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A8CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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