#8C8FD8#8C8FD8

#8C8FD8 is a light, moderate blue. Relative luminance 0.302; OKLCH L 67.7% C 0.107 H 281.3°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#8C8FD8
RGBrgb(140, 143, 216)
HSLhsl(238, 49%, 70%)
HSVhsv(238, 35%, 85%)
CMYKcmyk(35.2%, 33.8%, 0%, 15.3%)
CIE-LABlab(61.81, 16.15, -37.67)
CIE-LCHlch(61.81, 40.99, 293.21°)
OKLaboklab(67.68% 0.0211 -0.1052)
OKLCHoklch(67.68% 0.107 281.3)
XYZxyz(33.0289, 30.1771, 69.0370)
Luminance0.3018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8FD8 #D8D58C
analogous
#8CB5D8 #8C8FD8 #AF8CD8
triadic
#8C8FD8 #D88C8F #8FD88C
tetradic
#8C8FD8 #D88CB5 #D8D58C #8CD8AF
square
#8C8FD8 #D88CB5 #D8D58C #8CD8AF
split-complementary
#8C8FD8 #D8AF8C #B5D88C
monochromatic
#3B40AE #5E62C9 #8C8FD8 #BABCE7 #E7E8F7

Accessibility & contrast

On white

2.98
#8C8FD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#8C8FD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8C8FD8
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8FD8#FFFFFF#000000##000000
##8C8FD81.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7898DB
Deuteranopia (green-blind)
#7493D6
Tritanopia (blue-blind)
#779DAA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8c8fd8;
/* rgb */ color: rgb(140, 143, 216);
/* oklch */ color: oklch(67.7% 0.107 281.3);
Tailwind
colors: {
  custom: {
    50: '#b0afe4',
    500: '#8c8fd8',
    950: '#000000',
  },
}
SCSS
$custom: #8c8fd8;
$custom-light: #b0afe4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8fd8",
  "rgb": {
    "r": 140,
    "g": 143,
    "b": 216
  },
  "hsl": {
    "h": 237.632,
    "s": 49.351,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67684,
    "c": 0.10732,
    "h": 281.3
  },
  "luminance": 0.30178
}

Semantic roles & 50–950 ramp

primary
#8C8FD8
secondary
#EBEAD5
accent
#B729BD
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111015
muted
#807F84

Preview Lab

Preview with #8C8FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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