#8A8AEB#8A8AEB

#8A8AEB is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.5% C 0.141 H 281.9°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8A8AEB
RGBrgb(138, 138, 235)
HSLhsl(240, 71%, 73%)
HSVhsv(240, 41%, 92%)
CMYKcmyk(41.3%, 41.3%, 0%, 7.8%)
CIE-LABlab(61.29, 23.74, -49.05)
CIE-LCHlch(61.29, 54.50, 295.83°)
OKLaboklab(67.54% 0.0293 -0.1384)
OKLCHoklch(67.54% 0.141 281.9)
XYZxyz(34.5607, 29.5770, 82.4691)
Luminance0.2958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8AEB #EBEB8A
analogous
#8ABAEB #8A8AEB #BA8AEB
triadic
#8A8AEB #EB8A8A #8AEB8A
tetradic
#8A8AEB #EB8ABA #EBEB8A #8AEBBA
square
#8A8AEB #EB8ABA #EBEB8A #8AEBBA
split-complementary
#8A8AEB #EBBA8A #BAEB8A
monochromatic
#2525D6 #5656E2 #8A8AEB #BEBEF4 #E5E5FB

Accessibility & contrast

On white

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

On black

6.92
#8A8AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8AEB
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8AEB#FFFFFF#000000##000000
##8A8AEB1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6797EF
Deuteranopia (green-blind)
#6291E9
Tritanopia (blue-blind)
#6C9DAF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a8aeb;
/* rgb */ color: rgb(138, 138, 235);
/* oklch */ color: oklch(67.5% 0.141 281.9);
Tailwind
colors: {
  custom: {
    50: '#b0acf2',
    500: '#8a8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #8a8aeb;
$custom-light: #b0acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8aeb",
  "rgb": {
    "r": 138,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 240,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67544,
    "c": 0.14142,
    "h": 281.9
  },
  "luminance": 0.29578
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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