#8C8EC2#8C8EC2

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

Color values

HEX#8C8EC2
RGBrgb(140, 142, 194)
HSLhsl(238, 31%, 65%)
HSVhsv(238, 28%, 76%)
CMYKcmyk(27.8%, 26.8%, 0%, 23.9%)
CIE-LABlab(60.62, 11.02, -27.18)
CIE-LCHlch(60.62, 29.33, 292.07°)
OKLaboklab(66.46% 0.0165 -0.0751)
OKLCHoklch(66.46% 0.077 282.4)
XYZxyz(30.2233, 28.8158, 54.9981)
Luminance0.2882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8EC2 #C2C08C
analogous
#8CA9C2 #8C8EC2 #A58CC2
triadic
#8C8EC2 #C28C8E #8EC28C
tetradic
#8C8EC2 #C28CA9 #C2C08C #8CC2A5
square
#8C8EC2 #C28CA9 #C2C08C #8CC2A5
split-complementary
#8C8EC2 #C2A58C #A9C28C
monochromatic
#494C8A #6467AD #8C8EC2 #B4B5D7 #DCDDEC

Accessibility & contrast

On white

3.11
#8C8EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#8C8EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8EC2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8EC2#FFFFFF#000000##000000
##8C8EC21.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8094C4
Deuteranopia (green-blind)
#7D90C1
Tritanopia (blue-blind)
#7F97A0
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8c8ec2;
/* rgb */ color: rgb(140, 142, 194);
/* oklch */ color: oklch(66.5% 0.077 282.4);
Tailwind
colors: {
  custom: {
    50: '#aeafd4',
    500: '#8c8ec2',
    950: '#000000',
  },
}
SCSS
$custom: #8c8ec2;
$custom-light: #aeafd4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8ec2",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 194
  },
  "hsl": {
    "h": 237.778,
    "s": 30.682,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66462,
    "c": 0.0769,
    "h": 282.4
  },
  "luminance": 0.28816
}

Semantic roles & 50–950 ramp

primary
#8C8EC2
secondary
#DEDDCC
accent
#A53CA9
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #8C8EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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