#8C8DCD#8C8DCD

#8C8DCD is a light, moderate blue. Relative luminance 0.290; OKLCH L 66.8% C 0.094 H 282.8°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#8C8DCD
RGBrgb(140, 141, 205)
HSLhsl(239, 39%, 68%)
HSVhsv(239, 32%, 80%)
CMYKcmyk(31.7%, 31.2%, 0%, 19.6%)
CIE-LABlab(60.81, 14.41, -33.07)
CIE-LCHlch(60.81, 36.07, 293.55°)
OKLaboklab(66.76% 0.021 -0.092)
OKLCHoklch(66.76% 0.094 282.8)
XYZxyz(31.3566, 29.0321, 61.6974)
Luminance0.2903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8DCD #CDCC8C
analogous
#8CADCD #8C8DCD #AB8CCD
triadic
#8C8DCD #CD8C8D #8DCD8C
tetradic
#8C8DCD #CD8CAD #CDCC8C #8CCDAB
square
#8C8DCD #CD8CAD #CDCC8C #8CCDAB
split-complementary
#8C8DCD #CDAB8C #ADCD8C
monochromatic
#43459B #6163BA #8C8DCD #B7B7E0 #E1E2F2

Accessibility & contrast

On white

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

On black

6.81
#8C8DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8DCD
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8DCD#FFFFFF#000000##000000
##8C8DCD1.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A95D0
Deuteranopia (green-blind)
#7891CB
Tritanopia (blue-blind)
#7B99A4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8c8dcd;
/* rgb */ color: rgb(140, 141, 205);
/* oklch */ color: oklch(66.8% 0.094 282.8);
Tailwind
colors: {
  custom: {
    50: '#afaedc',
    500: '#8c8dcd',
    950: '#000000',
  },
}
SCSS
$custom: #8c8dcd;
$custom-light: #afaedc;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8dcd",
  "rgb": {
    "r": 140,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 239.077,
    "s": 39.394,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66759,
    "c": 0.09433,
    "h": 282.8
  },
  "luminance": 0.29033
}

Semantic roles & 50–950 ramp

primary
#8C8DCD
secondary
#E4E4D0
accent
#B033B2
background
#FAFAFD
surface
#F5F4FB
border
#CFCED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8C8DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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