#8C8DC2#8C8DC2

#8C8DC2 is a light, moderate blue. Relative luminance 0.285; OKLCH L 66.3% C 0.078 H 283.2°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8C8DC2
RGBrgb(140, 141, 194)
HSLhsl(239, 31%, 65%)
HSVhsv(239, 28%, 76%)
CMYKcmyk(27.8%, 27.3%, 0%, 23.9%)
CIE-LABlab(60.36, 11.60, -27.58)
CIE-LCHlch(60.36, 29.92, 292.81°)
OKLaboklab(66.26% 0.0179 -0.0763)
OKLCHoklch(66.26% 0.078 283.2)
XYZxyz(30.0752, 28.5195, 54.9487)
Luminance0.2852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8DC2 #C2C18C
analogous
#8CA8C2 #8C8DC2 #A68CC2
triadic
#8C8DC2 #C28C8D #8DC28C
tetradic
#8C8DC2 #C28CA8 #C2C18C #8CC2A6
square
#8C8DC2 #C28CA8 #C2C18C #8CC2A6
split-complementary
#8C8DC2 #C2A68C #A8C28C
monochromatic
#494B8A #6465AD #8C8DC2 #B4B5D7 #DCDCEC

Accessibility & contrast

On white

3.13
#8C8DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#8C8DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8DC2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8DC2#FFFFFF#000000##000000
##8C8DC21.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E93C4
Deuteranopia (green-blind)
#7C90C1
Tritanopia (blue-blind)
#7F96A0
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8c8dc2;
/* rgb */ color: rgb(140, 141, 194);
/* oklch */ color: oklch(66.3% 0.078 283.2);
Tailwind
colors: {
  custom: {
    50: '#afaed4',
    500: '#8c8dc2',
    950: '#000000',
  },
}
SCSS
$custom: #8c8dc2;
$custom-light: #afaed4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8dc2",
  "rgb": {
    "r": 140,
    "g": 141,
    "b": 194
  },
  "hsl": {
    "h": 238.889,
    "s": 30.682,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66258,
    "c": 0.07833,
    "h": 283.2
  },
  "luminance": 0.2852
}

Semantic roles & 50–950 ramp

primary
#8C8DC2
secondary
#DEDECC
accent
#A73CA9
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #8C8DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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