#8C8CD5#8C8CD5

#8C8CD5 is a light, moderate blue. Relative luminance 0.291; OKLCH L 66.9% C 0.107 H 283.1°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8C8CD5
RGBrgb(140, 140, 213)
HSLhsl(240, 46%, 69%)
HSVhsv(240, 34%, 84%)
CMYKcmyk(34.3%, 34.3%, 0%, 16.5%)
CIE-LABlab(60.90, 17.09, -37.41)
CIE-LCHlch(60.90, 41.13, 294.55°)
OKLaboklab(66.94% 0.0244 -0.1045)
OKLCHoklch(66.94% 0.107 283.1)
XYZxyz(32.2002, 29.1347, 66.8649)
Luminance0.2914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8CD5 #D5D58C
analogous
#8CB1D5 #8C8CD5 #B18CD5
triadic
#8C8CD5 #D58C8C #8CD58C
tetradic
#8C8CD5 #D58CB1 #D5D58C #8CD5B1
square
#8C8CD5 #D58CB1 #D5D58C #8CD5B1
split-complementary
#8C8CD5 #D5B18C #B1D58C
monochromatic
#3E3EA9 #5F5FC5 #8C8CD5 #B9B9E5 #E6E6F6

Accessibility & contrast

On white

3.08
#8C8CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#8C8CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8CD5
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8CD5#FFFFFF#000000##000000
##8C8CD51.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7695D8
Deuteranopia (green-blind)
#7391D3
Tritanopia (blue-blind)
#799AA7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8c8cd5;
/* rgb */ color: rgb(140, 140, 213);
/* oklch */ color: oklch(66.9% 0.107 283.1);
Tailwind
colors: {
  custom: {
    50: '#b0ade2',
    500: '#8c8cd5',
    950: '#000000',
  },
}
SCSS
$custom: #8c8cd5;
$custom-light: #b0ade2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8cd5",
  "rgb": {
    "r": 140,
    "g": 140,
    "b": 213
  },
  "hsl": {
    "h": 240,
    "s": 46.497,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66943,
    "c": 0.10728,
    "h": 283.1
  },
  "luminance": 0.29136
}

Semantic roles & 50–950 ramp

primary
#8C8CD5
secondary
#E9E9D4
accent
#BA2CBA
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83

Preview Lab

Preview with #8C8CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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