#8C8CE7#8C8CE7

#8C8CE7 is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.9% C 0.133 H 282.3°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8C8CE7
RGBrgb(140, 140, 231)
HSLhsl(240, 65%, 73%)
HSVhsv(240, 39%, 91%)
CMYKcmyk(39.4%, 39.4%, 0%, 9.4%)
CIE-LABlab(61.74, 21.97, -46.11)
CIE-LCHlch(61.74, 51.08, 295.47°)
OKLaboklab(67.86% 0.0282 -0.1297)
OKLCHoklch(67.86% 0.133 282.3)
XYZxyz(34.6130, 30.0998, 79.5719)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8CE7 #E7E78C
analogous
#8CB9E7 #8C8CE7 #B98CE7
triadic
#8C8CE7 #E78C8C #8CE78C
tetradic
#8C8CE7 #E78CB9 #E7E78C #8CE7B9
square
#8C8CE7 #E78CB9 #E7E78C #8CE7B9
split-complementary
#8C8CE7 #E7B98C #B9E78C
monochromatic
#2B2BCE #5959DC #8C8CE7 #BFBFF2 #E6E6FA

Accessibility & contrast

On white

2.99
#8C8CE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#8C8CE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8C8CE7
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8CE7#FFFFFF#000000##000000
##8C8CE71.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D98EB
Deuteranopia (green-blind)
#6992E5
Tritanopia (blue-blind)
#719EAE
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8c8ce7;
/* rgb */ color: rgb(140, 140, 231);
/* oklch */ color: oklch(67.9% 0.133 282.3);
Tailwind
colors: {
  custom: {
    50: '#b1adef',
    500: '#8c8ce7',
    950: '#000000',
  },
}
SCSS
$custom: #8c8ce7;
$custom-light: #b1adef;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8ce7",
  "rgb": {
    "r": 140,
    "g": 140,
    "b": 231
  },
  "hsl": {
    "h": 240,
    "s": 65.468,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67862,
    "c": 0.13278,
    "h": 282.3
  },
  "luminance": 0.30101
}

Semantic roles & 50–950 ramp

primary
#8C8CE7
secondary
#F1F1DA
accent
#CD18CD
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8C8CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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