#8A8BE5#8A8BE5

#8A8BE5 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.4% C 0.132 H 281.8°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8A8BE5
RGBrgb(138, 139, 229)
HSLhsl(239, 64%, 72%)
HSVhsv(239, 40%, 90%)
CMYKcmyk(39.7%, 39.3%, 0%, 10.2%)
CIE-LABlab(61.24, 21.48, -45.80)
CIE-LCHlch(61.24, 50.59, 295.13°)
OKLaboklab(67.41% 0.0269 -0.1289)
OKLCHoklch(67.41% 0.132 281.8)
XYZxyz(33.8526, 29.5243, 78.0286)
Luminance0.2953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BE5 #E5E48A
analogous
#8AB9E5 #8A8BE5 #B78AE5
triadic
#8A8BE5 #E58A8B #8BE58A
tetradic
#8A8BE5 #E58AB9 #E5E48A #8AE5B7
square
#8A8BE5 #E58AB9 #E5E48A #8AE5B7
split-complementary
#8A8BE5 #E5B78A #B9E58A
monochromatic
#2C2EC8 #5859DA #8A8BE5 #BCBDF0 #E6E6F9

Accessibility & contrast

On white

3.04
#8A8BE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#8A8BE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8BE5
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BE5#FFFFFF#000000##000000
##8A8BE51.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C97E8
Deuteranopia (green-blind)
#6791E3
Tritanopia (blue-blind)
#6F9DAD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a8be5;
/* rgb */ color: rgb(138, 139, 229);
/* oklch */ color: oklch(67.4% 0.132 281.8);
Tailwind
colors: {
  custom: {
    50: '#b0aced',
    500: '#8a8be5',
    950: '#000000',
  },
}
SCSS
$custom: #8a8be5;
$custom-light: #b0aced;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8be5",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 229
  },
  "hsl": {
    "h": 239.341,
    "s": 63.636,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67412,
    "c": 0.13165,
    "h": 281.8
  },
  "luminance": 0.29526
}

Semantic roles & 50–950 ramp

primary
#8A8BE5
secondary
#F1F1DA
accent
#C91ACB
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8BE5

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

Preview Lab → · Contrast checker → · Palette generator →

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