#8B8EC7#8B8EC7

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

Color values

HEX#8B8EC7
RGBrgb(139, 142, 199)
HSLhsl(237, 35%, 66%)
HSVhsv(237, 30%, 78%)
CMYKcmyk(30.2%, 28.6%, 0%, 22%)
CIE-LABlab(60.74, 11.99, -29.81)
CIE-LCHlch(60.74, 32.13, 291.92°)
OKLaboklab(66.61% 0.0168 -0.0826)
OKLCHoklch(66.61% 0.084 281.5)
XYZxyz(30.6265, 28.9577, 57.9975)
Luminance0.2896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8EC7 #C7C48B
analogous
#8BACC7 #8B8EC7 #A68BC7
triadic
#8B8EC7 #C78B8E #8EC78B
tetradic
#8B8EC7 #C78BAC #C7C48B #8BC7A6
square
#8B8EC7 #C78BAC #C7C48B #8BC7A6
split-complementary
#8B8EC7 #C7A68B #ACC78B
monochromatic
#464A91 #6266B3 #8B8EC7 #B4B6DB #DEDEEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B8EC7#FFFFFF#000000##000000
##8B8EC71.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)
#7E95C9
Deuteranopia (green-blind)
#7B91C6
Tritanopia (blue-blind)
#7C98A2
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8b8ec7;
/* rgb */ color: rgb(139, 142, 199);
/* oklch */ color: oklch(66.6% 0.084 281.5);
Tailwind
colors: {
  custom: {
    50: '#aeafd8',
    500: '#8b8ec7',
    950: '#000000',
  },
}
SCSS
$custom: #8b8ec7;
$custom-light: #aeafd8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8ec7",
  "rgb": {
    "r": 139,
    "g": 142,
    "b": 199
  },
  "hsl": {
    "h": 237,
    "s": 34.884,
    "l": 66.275
  },
  "oklch": {
    "l": 0.66606,
    "c": 0.08433,
    "h": 281.5
  },
  "luminance": 0.28958
}

Semantic roles & 50–950 ramp

primary
#8B8EC7
secondary
#E1E0CD
accent
#A838AE
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #8B8EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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