#8C8EC3#8C8EC3

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

Color values

HEX#8C8EC3
RGBrgb(140, 142, 195)
HSLhsl(238, 31%, 66%)
HSVhsv(238, 28%, 76%)
CMYKcmyk(28.2%, 27.2%, 0%, 23.5%)
CIE-LABlab(60.66, 11.27, -27.68)
CIE-LCHlch(60.66, 29.89, 292.16°)
OKLaboklab(66.51% 0.0168 -0.0765)
OKLCHoklch(66.51% 0.078 282.4)
XYZxyz(30.3360, 28.8608, 55.5916)
Luminance0.2886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8EC3 #C3C18C
analogous
#8CA9C3 #8C8EC3 #A58CC3
triadic
#8C8EC3 #C38C8E #8EC38C
tetradic
#8C8EC3 #C38CA9 #C3C18C #8CC3A5
square
#8C8EC3 #C38CA9 #C3C18C #8CC3A5
split-complementary
#8C8EC3 #C3A58C #A9C38C
monochromatic
#494B8C #6466AE #8C8EC3 #B4B6D8 #DCDDED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C8EC3#FFFFFF#000000##000000
##8C8EC31.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)
#7F94C5
Deuteranopia (green-blind)
#7D91C2
Tritanopia (blue-blind)
#7F98A1
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8c8ec3;
/* rgb */ color: rgb(140, 142, 195);
/* oklch */ color: oklch(66.5% 0.078 282.4);
Tailwind
colors: {
  custom: {
    50: '#afafd5',
    500: '#8c8ec3',
    950: '#000000',
  },
}
SCSS
$custom: #8c8ec3;
$custom-light: #afafd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8ec3",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 195
  },
  "hsl": {
    "h": 237.818,
    "s": 31.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66506,
    "c": 0.07836,
    "h": 282.4
  },
  "luminance": 0.28862
}

Semantic roles & 50–950 ramp

primary
#8C8EC3
secondary
#DFDECC
accent
#A63BAA
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #8C8EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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