#8C8AEB#8C8AEB

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

Color values

HEX#8C8AEB
RGBrgb(140, 138, 235)
HSLhsl(241, 71%, 73%)
HSVhsv(241, 41%, 92%)
CMYKcmyk(40.4%, 41.3%, 0%, 7.8%)
CIE-LABlab(61.44, 24.24, -48.81)
CIE-LCHlch(61.44, 54.50, 296.41°)
OKLaboklab(67.7% 0.0315 -0.1376)
OKLCHoklch(67.7% 0.141 282.9)
XYZxyz(34.8948, 29.7492, 82.4847)
Luminance0.2975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8AEB #E9EB8A
analogous
#8AB8EB #8C8AEB #BC8AEB
triadic
#8C8AEB #EB8C8A #8AEB8C
tetradic
#8C8AEB #EB8AB8 #E9EB8A #8AEBBC
square
#8C8AEB #EB8AB8 #E9EB8A #8AEBBC
split-complementary
#8C8AEB #EBBC8A #B8EB8A
monochromatic
#2825D6 #5956E2 #8C8AEB #BFBEF4 #E5E5FB

Accessibility & contrast

On white

3.02
#8C8AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#8C8AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8AEB
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8AEB#FFFFFF#000000##000000
##8C8AEB1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EF
Deuteranopia (green-blind)
#6391E9
Tritanopia (blue-blind)
#709DAF
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8c8aeb;
/* rgb */ color: rgb(140, 138, 235);
/* oklch */ color: oklch(67.7% 0.141 282.9);
Tailwind
colors: {
  custom: {
    50: '#b1acf2',
    500: '#8c8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #8c8aeb;
$custom-light: #b1acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8aeb",
  "rgb": {
    "r": 140,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 241.237,
    "s": 70.803,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67695,
    "c": 0.14116,
    "h": 282.9
  },
  "luminance": 0.29751
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8C8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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