#8B8AEE#8B8AEE

#8B8AEE is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.8% C 0.145 H 282.3°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8B8AEE
RGBrgb(139, 138, 238)
HSLhsl(241, 75%, 74%)
HSVhsv(241, 42%, 93%)
CMYKcmyk(41.6%, 42%, 0%, 6.7%)
CIE-LABlab(61.51, 24.83, -50.35)
CIE-LCHlch(61.51, 56.14, 296.25°)
OKLaboklab(67.78% 0.0309 -0.1421)
OKLCHoklch(67.78% 0.145 282.3)
XYZxyz(35.1641, 29.8375, 84.7788)
Luminance0.2984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8AEE #EDEE8A
analogous
#8ABBEE #8B8AEE #BD8AEE
triadic
#8B8AEE #EE8B8A #8AEE8B
tetradic
#8B8AEE #EE8ABB #EDEE8A #8AEEBD
square
#8B8AEE #EE8ABB #EDEE8A #8AEEBD
split-complementary
#8B8AEE #EEBD8A #BBEE8A
monochromatic
#2220DD #5655E6 #8B8AEE #C0BFF6 #E5E4FB

Accessibility & contrast

On white

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

On black

6.97
#8B8AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8AEE
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8AEE#FFFFFF#000000##000000
##8B8AEE1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F2
Deuteranopia (green-blind)
#6191EC
Tritanopia (blue-blind)
#6D9EB0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8b8aee;
/* rgb */ color: rgb(139, 138, 238);
/* oklch */ color: oklch(67.8% 0.145 282.3);
Tailwind
colors: {
  custom: {
    50: '#b1acf4',
    500: '#8b8aee',
    950: '#000000',
  },
}
SCSS
$custom: #8b8aee;
$custom-light: #b1acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8aee",
  "rgb": {
    "r": 139,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 240.6,
    "s": 74.627,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67784,
    "c": 0.14544,
    "h": 282.3
  },
  "luminance": 0.29839
}

Semantic roles & 50–950 ramp

primary
#8B8AEE
secondary
#F3F3D8
accent
#D70FD5
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8B8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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