#8D8AEC#8D8AEC

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

Color values

HEX#8D8AEC
RGBrgb(141, 138, 236)
HSLhsl(242, 72%, 73%)
HSVhsv(242, 42%, 93%)
CMYKcmyk(40.3%, 41.5%, 0%, 7.5%)
CIE-LABlab(61.56, 24.77, -49.16)
CIE-LCHlch(61.56, 55.05, 296.74°)
OKLaboklab(67.83% 0.0328 -0.1386)
OKLCHoklch(67.83% 0.142 283.3)
XYZxyz(35.2090, 29.8944, 83.2557)
Luminance0.2990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8AEC #E9EC8A
analogous
#8AB8EC #8D8AEC #BE8AEC
triadic
#8D8AEC #EC8D8A #8AEC8D
tetradic
#8D8AEC #EC8AB8 #E9EC8A #8AECBE
square
#8D8AEC #EC8AB8 #E9EC8A #8AECBE
split-complementary
#8D8AEC #ECBE8A #B8EC8A
monochromatic
#2923D8 #5A55E3 #8D8AEC #C0BFF5 #E5E5FB

Accessibility & contrast

On white

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

On black

6.98
#8D8AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8AEC
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8AEC#FFFFFF#000000##000000
##8D8AEC1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F0
Deuteranopia (green-blind)
#6391EA
Tritanopia (blue-blind)
#719DB0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d8aec;
/* rgb */ color: rgb(141, 138, 236);
/* oklch */ color: oklch(67.8% 0.142 283.3);
Tailwind
colors: {
  custom: {
    50: '#b2acf2',
    500: '#8d8aec',
    950: '#000000',
  },
}
SCSS
$custom: #8d8aec;
$custom-light: #b2acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8aec",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 241.837,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67826,
    "c": 0.14241,
    "h": 283.3
  },
  "luminance": 0.29896
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D8AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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