#8A8EC6#8A8EC6

#8A8EC6 is a light, moderate blue. Relative luminance 0.288; OKLCH L 66.5% C 0.083 H 280.7°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#8A8EC6
RGBrgb(138, 142, 198)
HSLhsl(236, 34%, 66%)
HSVhsv(236, 30%, 78%)
CMYKcmyk(30.3%, 28.3%, 0%, 22.4%)
CIE-LABlab(60.63, 11.44, -29.43)
CIE-LCHlch(60.63, 31.58, 291.24°)
OKLaboklab(66.48% 0.0154 -0.0816)
OKLCHoklch(66.48% 0.083 280.7)
XYZxyz(30.3445, 28.8256, 57.3803)
Luminance0.2883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EC6 #C6C28A
analogous
#8AACC6 #8A8EC6 #A48AC6
triadic
#8A8EC6 #C68A8E #8EC68A
tetradic
#8A8EC6 #C68AAC #C6C28A #8AC6A4
square
#8A8EC6 #C68AAC #C6C28A #8AC6A4
split-complementary
#8A8EC6 #C6A48A #ACC68A
monochromatic
#464B90 #6166B2 #8A8EC6 #B3B6DA #DCDDEE

Accessibility & contrast

On white

3.10
#8A8EC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#8A8EC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8EC6
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EC6#FFFFFF#000000##000000
##8A8EC61.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E94C8
Deuteranopia (green-blind)
#7B90C5
Tritanopia (blue-blind)
#7B98A2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a8ec6;
/* rgb */ color: rgb(138, 142, 198);
/* oklch */ color: oklch(66.5% 0.083 280.7);
Tailwind
colors: {
  custom: {
    50: '#adafd7',
    500: '#8a8ec6',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ec6;
$custom-light: #adafd7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ec6",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 198
  },
  "hsl": {
    "h": 236,
    "s": 34.483,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66484,
    "c": 0.08302,
    "h": 280.7
  },
  "luminance": 0.28826
}

Semantic roles & 50–950 ramp

primary
#8A8EC6
secondary
#E0DECC
accent
#A638AD
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #8A8EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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