#8D8AEB#8D8AEB

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

Color values

HEX#8D8AEB
RGBrgb(141, 138, 235)
HSLhsl(242, 71%, 73%)
HSVhsv(242, 41%, 92%)
CMYKcmyk(40%, 41.3%, 0%, 7.8%)
CIE-LABlab(61.51, 24.49, -48.68)
CIE-LCHlch(61.51, 54.50, 296.71°)
OKLaboklab(67.77% 0.0326 -0.1372)
OKLCHoklch(67.77% 0.141 283.4)
XYZxyz(35.0641, 29.8365, 82.4927)
Luminance0.2984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8AEB #E8EB8A
analogous
#8AB7EB #8D8AEB #BD8AEB
triadic
#8D8AEB #EB8D8A #8AEB8D
tetradic
#8D8AEB #EB8AB7 #E8EB8A #8AEBBD
square
#8D8AEB #EB8AB7 #E8EB8A #8AEBBD
split-complementary
#8D8AEB #EBBD8A #B7EB8A
monochromatic
#2A25D6 #5A56E2 #8D8AEB #C0BEF4 #E6E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8AEB#FFFFFF#000000##000000
##8D8AEB1.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)
#6898EF
Deuteranopia (green-blind)
#6491E9
Tritanopia (blue-blind)
#719DAF
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d8aeb;
/* rgb */ color: rgb(141, 138, 235);
/* oklch */ color: oklch(67.8% 0.141 283.4);
Tailwind
colors: {
  custom: {
    50: '#b2acf2',
    500: '#8d8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #8d8aeb;
$custom-light: #b2acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8aeb",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 241.856,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67772,
    "c": 0.14103,
    "h": 283.4
  },
  "luminance": 0.29838
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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