#8C8BE7#8C8BE7

#8C8BE7 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.7% C 0.134 H 282.7°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8C8BE7
RGBrgb(140, 139, 231)
HSLhsl(241, 66%, 73%)
HSVhsv(241, 40%, 91%)
CMYKcmyk(39.4%, 39.8%, 0%, 9.4%)
CIE-LABlab(61.49, 22.55, -46.51)
CIE-LCHlch(61.49, 51.69, 295.87°)
OKLaboklab(67.67% 0.0295 -0.1309)
OKLCHoklch(67.67% 0.134 282.7)
XYZxyz(34.4675, 29.8089, 79.5234)
Luminance0.2981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8BE7 #E6E78B
analogous
#8BB8E7 #8C8BE7 #BA8BE7
triadic
#8C8BE7 #E78C8B #8BE78C
tetradic
#8C8BE7 #E78BB8 #E6E78B #8BE7BA
square
#8C8BE7 #E78BB8 #E6E78B #8BE7BA
split-complementary
#8C8BE7 #E7BA8B #B8E78B
monochromatic
#2C2ACD #5A58DD #8C8BE7 #BEBEF1 #E6E6FA

Accessibility & contrast

On white

3.02
#8C8BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#8C8BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8BE7
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8BE7#FFFFFF#000000##000000
##8C8BE71.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B98EB
Deuteranopia (green-blind)
#6791E5
Tritanopia (blue-blind)
#719DAE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8c8be7;
/* rgb */ color: rgb(140, 139, 231);
/* oklch */ color: oklch(67.7% 0.134 282.7);
Tailwind
colors: {
  custom: {
    50: '#b1acef',
    500: '#8c8be7',
    950: '#000000',
  },
}
SCSS
$custom: #8c8be7;
$custom-light: #b1acef;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8be7",
  "rgb": {
    "r": 140,
    "g": 139,
    "b": 231
  },
  "hsl": {
    "h": 240.652,
    "s": 65.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.6767,
    "c": 0.13417,
    "h": 282.7
  },
  "luminance": 0.2981
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C8BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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