#8B81EA#8B81EA

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

Color values

HEX#8B81EA
RGBrgb(139, 129, 234)
HSLhsl(246, 71%, 71%)
HSVhsv(246, 45%, 92%)
CMYKcmyk(40.6%, 44.9%, 0%, 8.2%)
CIE-LABlab(59.09, 28.96, -51.98)
CIE-LCHlch(59.09, 59.50, 299.13°)
OKLaboklab(65.88% 0.0414 -0.1469)
OKLCHoklch(65.88% 0.153 285.7)
XYZxyz(33.3448, 27.1288, 81.3054)
Luminance0.2713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B81EA #E0EA81
analogous
#81ABEA #8B81EA #BF81EA
triadic
#8B81EA #EA8B81 #81EA8B
tetradic
#8B81EA #EA81AB #E0EA81 #81EABF
square
#8B81EA #EA81AB #E0EA81 #81EABF
split-complementary
#8B81EA #EABF81 #ABEA81
monochromatic
#3322CE #5B4DE1 #8B81EA #BBB5F3 #E7E5FB

Accessibility & contrast

On white

3.27
#8B81EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#8B81EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B81EA
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B81EA#FFFFFF#000000##000000
##8B81EA1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A91EE
Deuteranopia (green-blind)
#578BE8
Tritanopia (blue-blind)
#6F96AA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8b81ea;
/* rgb */ color: rgb(139, 129, 234);
/* oklch */ color: oklch(65.9% 0.153 285.7);
Tailwind
colors: {
  custom: {
    50: '#b1a5f1',
    500: '#8b81ea',
    950: '#000000',
  },
}
SCSS
$custom: #8b81ea;
$custom-light: #b1a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b81ea",
  "rgb": {
    "r": 139,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 245.714,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6588,
    "c": 0.15264,
    "h": 285.7
  },
  "luminance": 0.2713
}

Semantic roles & 50–950 ramp

primary
#8B81EA
secondary
#EFF1D6
accent
#D312C1
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8B81EA

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

Preview Lab → · Contrast checker → · Palette generator →

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