#8B8BF2#8B8BF2

#8B8BF2 is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.2% C 0.150 H 281.7°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8B8BF2
RGBrgb(139, 139, 242)
HSLhsl(240, 80%, 75%)
HSVhsv(240, 43%, 95%)
CMYKcmyk(42.6%, 42.6%, 0%, 5.1%)
CIE-LABlab(61.97, 25.37, -51.84)
CIE-LCHlch(61.97, 57.72, 296.08°)
OKLaboklab(68.19% 0.0303 -0.1465)
OKLCHoklch(68.19% 0.15 281.7)
XYZxyz(35.9024, 30.3634, 87.9562)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8BF2 #F2F28B
analogous
#8BBFF2 #8B8BF2 #BF8BF2
triadic
#8B8BF2 #F28B8B #8BF28B
tetradic
#8B8BF2 #F28BBF #F2F28B #8BF2BF
square
#8B8BF2 #F28BBF #F2F28B #8BF2BF
split-complementary
#8B8BF2 #F2BF8B #BFF28B
monochromatic
#1D1DE6 #5454EC #8B8BF2 #C2C2F8 #E3E3FC

Accessibility & contrast

On white

2.97
#8B8BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#8B8BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8B8BF2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8BF2#FFFFFF#000000##000000
##8B8BF21.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6599F6
Deuteranopia (green-blind)
#5F92F0
Tritanopia (blue-blind)
#6BA0B3
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8b8bf2;
/* rgb */ color: rgb(139, 139, 242);
/* oklch */ color: oklch(68.2% 0.150 281.7);
Tailwind
colors: {
  custom: {
    50: '#b1acf7',
    500: '#8b8bf2',
    950: '#000000',
  },
}
SCSS
$custom: #8b8bf2;
$custom-light: #b1acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8bf2",
  "rgb": {
    "r": 139,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 240,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.68195,
    "c": 0.14957,
    "h": 281.7
  },
  "luminance": 0.30365
}

Semantic roles & 50–950 ramp

primary
#8B8BF2
secondary
#F4F4D7
accent
#DC09DC
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8B8BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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