#8C8EC4#8C8EC4

#8C8EC4 is a light, moderate blue. Relative luminance 0.289; OKLCH L 66.5% C 0.080 H 282.4°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8C8EC4
RGBrgb(140, 142, 196)
HSLhsl(238, 32%, 66%)
HSVhsv(238, 29%, 77%)
CMYKcmyk(28.6%, 27.6%, 0%, 23.1%)
CIE-LABlab(60.70, 11.53, -28.18)
CIE-LCHlch(60.70, 30.45, 292.24°)
OKLaboklab(66.55% 0.0171 -0.078)
OKLCHoklch(66.55% 0.08 282.4)
XYZxyz(30.4494, 28.9062, 56.1890)
Luminance0.2891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8EC4 #C4C28C
analogous
#8CAAC4 #8C8EC4 #A68CC4
triadic
#8C8EC4 #C48C8E #8EC48C
tetradic
#8C8EC4 #C48CAA #C4C28C #8CC4A6
square
#8C8EC4 #C48CAA #C4C28C #8CC4A6
split-complementary
#8C8EC4 #C4A68C #AAC48C
monochromatic
#484B8D #6466AF #8C8EC4 #B4B6D9 #DDDDEE

Accessibility & contrast

On white

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

On black

6.78
#8C8EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8EC4
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8EC4#FFFFFF#000000##000000
##8C8EC41.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F94C6
Deuteranopia (green-blind)
#7C91C3
Tritanopia (blue-blind)
#7E98A1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8c8ec4;
/* rgb */ color: rgb(140, 142, 196);
/* oklch */ color: oklch(66.5% 0.080 282.4);
Tailwind
colors: {
  custom: {
    50: '#afafd6',
    500: '#8c8ec4',
    950: '#000000',
  },
}
SCSS
$custom: #8c8ec4;
$custom-light: #afafd6;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8ec4",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 196
  },
  "hsl": {
    "h": 237.857,
    "s": 32.184,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6655,
    "c": 0.07982,
    "h": 282.4
  },
  "luminance": 0.28907
}

Semantic roles & 50–950 ramp

primary
#8C8EC4
secondary
#DFDECD
accent
#A73BAB
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #8C8EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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