#8C8CD9#8C8CD9

#8C8CD9 is a light, moderate blue. Relative luminance 0.293; OKLCH L 67.1% C 0.113 H 282.9°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8C8CD9
RGBrgb(140, 140, 217)
HSLhsl(240, 50%, 70%)
HSVhsv(240, 35%, 85%)
CMYKcmyk(35.5%, 35.5%, 0%, 14.9%)
CIE-LABlab(61.08, 18.16, -39.36)
CIE-LCHlch(61.08, 43.35, 294.77°)
OKLaboklab(67.14% 0.0253 -0.1101)
OKLCHoklch(67.14% 0.113 282.9)
XYZxyz(32.7142, 29.3403, 69.5718)
Luminance0.2934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8CD9 #D9D98C
analogous
#8CB2D9 #8C8CD9 #B28CD9
triadic
#8C8CD9 #D98C8C #8CD98C
tetradic
#8C8CD9 #D98CB3 #D9D98C #8CD9B3
square
#8C8CD9 #D98CB3 #D9D98C #8CD9B3
split-complementary
#8C8CD9 #D9B38C #B3D98C
monochromatic
#3A3AB0 #5E5ECA #8C8CD9 #BABAE8 #E8E8F7

Accessibility & contrast

On white

3.06
#8C8CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#8C8CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8CD9
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8CD9#FFFFFF#000000##000000
##8C8CD91.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7496DC
Deuteranopia (green-blind)
#7191D7
Tritanopia (blue-blind)
#779BA8
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8c8cd9;
/* rgb */ color: rgb(140, 140, 217);
/* oklch */ color: oklch(67.1% 0.113 282.9);
Tailwind
colors: {
  custom: {
    50: '#b0ade5',
    500: '#8c8cd9',
    950: '#000000',
  },
}
SCSS
$custom: #8c8cd9;
$custom-light: #b0ade5;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8cd9",
  "rgb": {
    "r": 140,
    "g": 140,
    "b": 217
  },
  "hsl": {
    "h": 240,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.67141,
    "c": 0.113,
    "h": 282.9
  },
  "luminance": 0.29341
}

Semantic roles & 50–950 ramp

primary
#8C8CD9
secondary
#EBEBD6
accent
#BE28BE
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111015
muted
#807F84

Preview Lab

Preview with #8C8CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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