#8B8CE8#8B8CE8

#8B8CE8 is a light, vivid blue. Relative luminance 0.301; OKLCH L 67.8% C 0.134 H 281.7°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8B8CE8
RGBrgb(139, 140, 232)
HSLhsl(239, 67%, 73%)
HSVhsv(239, 40%, 91%)
CMYKcmyk(40.1%, 39.7%, 0%, 9%)
CIE-LABlab(61.71, 21.99, -46.71)
CIE-LCHlch(61.71, 51.63, 295.21°)
OKLaboklab(67.84% 0.0273 -0.1315)
OKLCHoklch(67.84% 0.134 281.7)
XYZxyz(34.5868, 30.0699, 80.3100)
Luminance0.3007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8CE8 #E8E78B
analogous
#8BBAE8 #8B8CE8 #B98BE8
triadic
#8B8CE8 #E88B8C #8CE88B
tetradic
#8B8CE8 #E88BBA #E8E78B #8BE8B9
square
#8B8CE8 #E88BBA #E8E78B #8BE8B9
split-complementary
#8B8CE8 #E8B98B #BAE88B
monochromatic
#292BCF #5859DE #8B8CE8 #BEBFF2 #E5E6FA

Accessibility & contrast

On white

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

On black

7.01
#8B8CE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8B8CE8
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8CE8#FFFFFF#000000##000000
##8B8CE81.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C98EC
Deuteranopia (green-blind)
#6792E6
Tritanopia (blue-blind)
#6F9EAF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8b8ce8;
/* rgb */ color: rgb(139, 140, 232);
/* oklch */ color: oklch(67.8% 0.134 281.7);
Tailwind
colors: {
  custom: {
    50: '#b0adf0',
    500: '#8b8ce8',
    950: '#000000',
  },
}
SCSS
$custom: #8b8ce8;
$custom-light: #b0adf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8ce8",
  "rgb": {
    "r": 139,
    "g": 140,
    "b": 232
  },
  "hsl": {
    "h": 239.355,
    "s": 66.906,
    "l": 72.745
  },
  "oklch": {
    "l": 0.6784,
    "c": 0.13431,
    "h": 281.7
  },
  "luminance": 0.30071
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B8CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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