#8B8AEF#8B8AEF

#8B8AEF is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.8% C 0.147 H 282.2°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8B8AEF
RGBrgb(139, 138, 239)
HSLhsl(241, 76%, 74%)
HSVhsv(241, 42%, 94%)
CMYKcmyk(41.8%, 42.3%, 0%, 6.3%)
CIE-LABlab(61.56, 25.11, -50.82)
CIE-LCHlch(61.56, 56.69, 296.29°)
OKLaboklab(67.84% 0.031 -0.1435)
OKLCHoklch(67.84% 0.147 282.2)
XYZxyz(35.3114, 29.8964, 85.5546)
Luminance0.2990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8AEF #EEEF8A
analogous
#8ABCEF #8B8AEF #BE8AEF
triadic
#8B8AEF #EF8B8A #8AEF8B
tetradic
#8B8AEF #EF8ABC #EEEF8A #8AEFBE
square
#8B8AEF #EF8ABC #EEEF8A #8AEFBE
split-complementary
#8B8AEF #EFBE8A #BCEF8A
monochromatic
#211FE0 #5654E8 #8B8AEF #C0C0F6 #E4E4FB

Accessibility & contrast

On white

3.01
#8B8AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#8B8AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8AEF
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8AEF#FFFFFF#000000##000000
##8B8AEF1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F3
Deuteranopia (green-blind)
#6091ED
Tritanopia (blue-blind)
#6C9EB1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8b8aef;
/* rgb */ color: rgb(139, 138, 239);
/* oklch */ color: oklch(67.8% 0.147 282.2);
Tailwind
colors: {
  custom: {
    50: '#b1acf5',
    500: '#8b8aef',
    950: '#000000',
  },
}
SCSS
$custom: #8b8aef;
$custom-light: #b1acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8aef",
  "rgb": {
    "r": 139,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 240.594,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.6784,
    "c": 0.14682,
    "h": 282.2
  },
  "luminance": 0.29898
}

Semantic roles & 50–950 ramp

primary
#8B8AEF
secondary
#F3F3D8
accent
#D80DD6
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #8B8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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