#8C8BF8#8C8BF8

#8C8BF8 is a light, vivid blue. Relative luminance 0.308; OKLCH L 68.6% C 0.158 H 281.8°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8C8BF8
RGBrgb(140, 139, 248)
HSLhsl(241, 89%, 76%)
HSVhsv(241, 44%, 97%)
CMYKcmyk(43.5%, 44%, 0%, 2.7%)
CIE-LABlab(62.35, 27.31, -54.53)
CIE-LCHlch(62.35, 60.98, 296.61°)
OKLaboklab(68.61% 0.0323 -0.1543)
OKLCHoklch(68.61% 0.158 281.8)
XYZxyz(36.9861, 30.8163, 92.7881)
Luminance0.3082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8BF8 #F7F88B
analogous
#8BC0F8 #8C8BF8 #C28BF8
triadic
#8C8BF8 #F88C8B #8BF88C
tetradic
#8C8BF8 #F88BC0 #F7F88B #8BF8C2
square
#8C8BF8 #F88BC0 #F7F88B #8BF8C2
split-complementary
#8C8BF8 #F8C28B #C0F88B
monochromatic
#1A18F1 #5351F5 #8C8BF8 #C5C5FB #E2E2FD

Accessibility & contrast

On white

2.93
#8C8BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#8C8BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8C8BF8
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8BF8#FFFFFF#000000##000000
##8C8BF81.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFC
Deuteranopia (green-blind)
#5B93F6
Tritanopia (blue-blind)
#69A1B6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8c8bf8;
/* rgb */ color: rgb(140, 139, 248);
/* oklch */ color: oklch(68.6% 0.158 281.8);
Tailwind
colors: {
  custom: {
    50: '#b2acfb',
    500: '#8c8bf8',
    950: '#000000',
  },
}
SCSS
$custom: #8c8bf8;
$custom-light: #b2acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8bf8",
  "rgb": {
    "r": 140,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 240.55,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.68608,
    "c": 0.15766,
    "h": 281.8
  },
  "luminance": 0.30818
}

Semantic roles & 50–950 ramp

primary
#8C8BF8
secondary
#F5F5D6
accent
#E500E3
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8C8BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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