#8B81EB#8B81EB

#8B81EB is a light, vivid blue. Relative luminance 0.272; OKLCH L 65.9% C 0.154 H 285.7°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8B81EB
RGBrgb(139, 129, 235)
HSLhsl(246, 73%, 71%)
HSVhsv(246, 45%, 92%)
CMYKcmyk(40.9%, 45.1%, 0%, 7.8%)
CIE-LABlab(59.15, 29.24, -52.45)
CIE-LCHlch(59.15, 60.05, 299.14°)
OKLaboklab(65.94% 0.0416 -0.1483)
OKLCHoklch(65.94% 0.154 285.7)
XYZxyz(33.4889, 27.1864, 82.0641)
Luminance0.2719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B81EB #E1EB81
analogous
#81ACEB #8B81EB #C081EB
triadic
#8B81EB #EB8B81 #81EB8B
tetradic
#8B81EB #EB81AC #E1EB81 #81EBC0
square
#8B81EB #EB81AC #E1EB81 #81EBC0
split-complementary
#8B81EB #EBC081 #ACEB81
monochromatic
#3221D1 #5A4CE3 #8B81EB #BCB6F3 #E7E5FB

Accessibility & contrast

On white

3.26
#8B81EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#8B81EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B81EB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B81EB#FFFFFF#000000##000000
##8B81EB1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EF
Deuteranopia (green-blind)
#578BE9
Tritanopia (blue-blind)
#6F96AB
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8b81eb;
/* rgb */ color: rgb(139, 129, 235);
/* oklch */ color: oklch(65.9% 0.154 285.7);
Tailwind
colors: {
  custom: {
    50: '#b1a5f2',
    500: '#8b81eb',
    950: '#000000',
  },
}
SCSS
$custom: #8b81eb;
$custom-light: #b1a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b81eb",
  "rgb": {
    "r": 139,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 245.66,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.65938,
    "c": 0.15401,
    "h": 285.7
  },
  "luminance": 0.27188
}

Semantic roles & 50–950 ramp

primary
#8B81EB
secondary
#EFF2D6
accent
#D511C2
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8B81EB

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

Preview Lab → · Contrast checker → · Palette generator →

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