#8A8BEB#8A8BEB

#8A8BEB is a light, vivid blue. Relative luminance 0.299; OKLCH L 67.7% C 0.140 H 281.5°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8A8BEB
RGBrgb(138, 139, 235)
HSLhsl(239, 71%, 73%)
HSVhsv(239, 41%, 92%)
CMYKcmyk(41.3%, 40.9%, 0%, 7.8%)
CIE-LABlab(61.54, 23.16, -48.66)
CIE-LCHlch(61.54, 53.89, 295.45°)
OKLaboklab(67.74% 0.028 -0.1372)
OKLCHoklch(67.74% 0.14 281.5)
XYZxyz(34.7049, 29.8652, 82.5171)
Luminance0.2987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BEB #EBEA8A
analogous
#8ABCEB #8A8BEB #B98AEB
triadic
#8A8BEB #EB8A8B #8BEB8A
tetradic
#8A8BEB #EB8ABC #EBEA8A #8AEBB9
square
#8A8BEB #EB8ABC #EBEA8A #8AEBB9
split-complementary
#8A8BEB #EBB98A #BCEB8A
monochromatic
#2526D6 #5657E2 #8A8BEB #BEBFF4 #E5E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8BEB#FFFFFF#000000##000000
##8A8BEB1.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)
#6998EF
Deuteranopia (green-blind)
#6491E9
Tritanopia (blue-blind)
#6C9EB0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a8beb;
/* rgb */ color: rgb(138, 139, 235);
/* oklch */ color: oklch(67.7% 0.140 281.5);
Tailwind
colors: {
  custom: {
    50: '#b0acf2',
    500: '#8a8beb',
    950: '#000000',
  },
}
SCSS
$custom: #8a8beb;
$custom-light: #b0acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8beb",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 235
  },
  "hsl": {
    "h": 239.381,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67735,
    "c": 0.14003,
    "h": 281.5
  },
  "luminance": 0.29867
}

Semantic roles & 50–950 ramp

primary
#8A8BEB
secondary
#F2F2D9
accent
#D113D3
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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