#8B8BFA#8B8BFA

#8B8BFA is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.6% C 0.161 H 281.3°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8B8BFA
RGBrgb(139, 139, 250)
HSLhsl(240, 92%, 76%)
HSVhsv(240, 44%, 98%)
CMYKcmyk(44.4%, 44.4%, 0%, 2%)
CIE-LABlab(62.38, 27.65, -55.58)
CIE-LCHlch(62.38, 62.07, 296.45°)
OKLaboklab(68.65% 0.0315 -0.1574)
OKLCHoklch(68.65% 0.161 281.3)
XYZxyz(37.1303, 30.8546, 94.4230)
Luminance0.3086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8BFA #FAFA8B
analogous
#8BC3FA #8B8BFA #C38BFA
triadic
#8B8BFA #FA8B8B #8BFA8B
tetradic
#8B8BFA #FA8BC3 #FAFA8B #8BFAC3
square
#8B8BFA #FA8BC3 #FAFA8B #8BFAC3
split-complementary
#8B8BFA #FAC38B #C3FA8B
monochromatic
#1616F5 #5050F7 #8B8BFA #C6C6FD #E2E2FE

Accessibility & contrast

On white

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

On black

7.17
#8B8BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8B8BFA
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8BFA#FFFFFF#000000##000000
##8B8BFA1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9BFE
Deuteranopia (green-blind)
#5993F7
Tritanopia (blue-blind)
#66A2B6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8b8bfa;
/* rgb */ color: rgb(139, 139, 250);
/* oklch */ color: oklch(68.6% 0.161 281.3);
Tailwind
colors: {
  custom: {
    50: '#b2acfc',
    500: '#8b8bfa',
    950: '#000000',
  },
}
SCSS
$custom: #8b8bfa;
$custom-light: #b2acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8bfa",
  "rgb": {
    "r": 139,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 240,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.68649,
    "c": 0.16053,
    "h": 281.3
  },
  "luminance": 0.30856
}

Semantic roles & 50–950 ramp

primary
#8B8BFA
secondary
#F6F6D5
accent
#E600E5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8B8BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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