#8A8CD2#8A8CD2

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

Color values

HEX#8A8CD2
RGBrgb(138, 140, 210)
HSLhsl(238, 44%, 68%)
HSVhsv(238, 34%, 82%)
CMYKcmyk(34.3%, 33.3%, 0%, 17.6%)
CIE-LABlab(60.62, 15.74, -36.19)
CIE-LCHlch(60.62, 39.46, 293.50°)
OKLaboklab(66.64% 0.0214 -0.101)
OKLCHoklch(66.64% 0.103 282)
XYZxyz(31.4890, 28.8116, 64.8624)
Luminance0.2881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8CD2 #D2D08A
analogous
#8AB0D2 #8A8CD2 #AC8AD2
triadic
#8A8CD2 #D28A8C #8CD28A
tetradic
#8A8CD2 #D28AB0 #D2D08A #8AD2AC
square
#8A8CD2 #D28AB0 #D2D08A #8AD2AC
split-complementary
#8A8CD2 #D2AC8A #B0D28A
monochromatic
#3F41A3 #5E61C1 #8A8CD2 #B6B7E3 #E2E3F4

Accessibility & contrast

On white

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

On black

6.76
#8A8CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8CD2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8CD2#FFFFFF#000000##000000
##8A8CD21.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7695D5
Deuteranopia (green-blind)
#7390D0
Tritanopia (blue-blind)
#7799A5
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a8cd2;
/* rgb */ color: rgb(138, 140, 210);
/* oklch */ color: oklch(66.6% 0.103 282.0);
Tailwind
colors: {
  custom: {
    50: '#aeade0',
    500: '#8a8cd2',
    950: '#000000',
  },
}
SCSS
$custom: #8a8cd2;
$custom-light: #aeade0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8cd2",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 210
  },
  "hsl": {
    "h": 238.333,
    "s": 44.444,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66642,
    "c": 0.10323,
    "h": 282
  },
  "luminance": 0.28813
}

Semantic roles & 50–950 ramp

primary
#8A8CD2
secondary
#E7E6D1
accent
#B42EB8
background
#FAFAFD
surface
#F5F4FB
border
#CFCED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A8CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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