#8E8AEB#8E8AEB

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

Color values

HEX#8E8AEB
RGBrgb(142, 138, 235)
HSLhsl(242, 71%, 73%)
HSVhsv(242, 41%, 92%)
CMYKcmyk(39.6%, 41.3%, 0%, 7.8%)
CIE-LABlab(61.59, 24.75, -48.56)
CIE-LCHlch(61.59, 54.50, 297.00°)
OKLaboklab(67.85% 0.0337 -0.1368)
OKLCHoklch(67.85% 0.141 283.9)
XYZxyz(35.2349, 29.9246, 82.5007)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8AEB #E7EB8A
analogous
#8AB6EB #8E8AEB #BE8AEB
triadic
#8E8AEB #EB8E8A #8AEB8E
tetradic
#8E8AEB #EB8AB6 #E7EB8A #8AEBBE
square
#8E8AEB #EB8AB6 #E7EB8A #8AEBBE
split-complementary
#8E8AEB #EBBE8A #B6EB8A
monochromatic
#2C25D6 #5C56E2 #8E8AEB #C0BEF4 #E6E5FB

Accessibility & contrast

On white

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

On black

6.99
#8E8AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8AEB
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8AEB#FFFFFF#000000##000000
##8E8AEB1.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EF
Deuteranopia (green-blind)
#6492E9
Tritanopia (blue-blind)
#739DAF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8e8aeb;
/* rgb */ color: rgb(142, 138, 235);
/* oklch */ color: oklch(67.8% 0.141 283.9);
Tailwind
colors: {
  custom: {
    50: '#b3acf2',
    500: '#8e8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #8e8aeb;
$custom-light: #b3acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8aeb",
  "rgb": {
    "r": 142,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 242.474,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67849,
    "c": 0.14092,
    "h": 283.9
  },
  "luminance": 0.29926
}

Semantic roles & 50–950 ramp

primary
#8E8AEB
secondary
#F1F2D9
accent
#D313CB
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8E8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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