#8C8ECB#8C8ECB

#8C8ECB is a light, moderate blue. Relative luminance 0.292; OKLCH L 66.9% C 0.090 H 282.2°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8C8ECB
RGBrgb(140, 142, 203)
HSLhsl(238, 38%, 67%)
HSVhsv(238, 31%, 80%)
CMYKcmyk(31%, 30%, 0%, 20.4%)
CIE-LABlab(60.99, 13.31, -31.67)
CIE-LCHlch(60.99, 34.36, 292.80°)
OKLaboklab(66.87% 0.0191 -0.088)
OKLCHoklch(66.87% 0.09 282.2)
XYZxyz(31.2648, 29.2324, 60.4835)
Luminance0.2923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8ECB #CBC98C
analogous
#8CAECB #8C8ECB #A98CCB
triadic
#8C8ECB #CB8C8E #8ECB8C
tetradic
#8C8ECB #CB8CAE #CBC98C #8CCBA9
square
#8C8ECB #CB8CAE #CBC98C #8CCBA9
split-complementary
#8C8ECB #CBA98C #AECB8C
monochromatic
#454798 #6265B8 #8C8ECB #B6B7DE #E0E1F1

Accessibility & contrast

On white

3.07
#8C8ECB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#8C8ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8ECB
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8ECB#FFFFFF#000000##000000
##8C8ECB1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C95CE
Deuteranopia (green-blind)
#7A91C9
Tritanopia (blue-blind)
#7C99A4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8c8ecb;
/* rgb */ color: rgb(140, 142, 203);
/* oklch */ color: oklch(66.9% 0.090 282.2);
Tailwind
colors: {
  custom: {
    50: '#afafdb',
    500: '#8c8ecb',
    950: '#000000',
  },
}
SCSS
$custom: #8c8ecb;
$custom-light: #afafdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8ecb",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 203
  },
  "hsl": {
    "h": 238.095,
    "s": 37.725,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66867,
    "c": 0.09,
    "h": 282.2
  },
  "luminance": 0.29233
}

Semantic roles & 50–950 ramp

primary
#8C8ECB
secondary
#E3E3CF
accent
#AD35B1
background
#FAFAFD
surface
#F5F4FB
border
#CFCED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8C8ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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