#8A8BEC#8A8BEC

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

Color values

HEX#8A8BEC
RGBrgb(138, 139, 236)
HSLhsl(239, 72%, 73%)
HSVhsv(239, 42%, 93%)
CMYKcmyk(41.5%, 41.1%, 0%, 7.5%)
CIE-LABlab(61.59, 23.44, -49.13)
CIE-LCHlch(61.59, 54.44, 295.50°)
OKLaboklab(67.79% 0.0282 -0.1386)
OKLCHoklch(67.79% 0.141 281.5)
XYZxyz(34.8497, 29.9232, 83.2801)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BEC #ECEB8A
analogous
#8ABCEC #8A8BEC #BA8AEC
triadic
#8A8BEC #EC8A8B #8BEC8A
tetradic
#8A8BEC #EC8ABC #ECEB8A #8AECBA
square
#8A8BEC #EC8ABC #ECEB8A #8AECBA
split-complementary
#8A8BEC #ECBA8A #BCEC8A
monochromatic
#2325D8 #5557E3 #8A8BEC #BFBFF5 #E5E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8BEC#FFFFFF#000000##000000
##8A8BEC1.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)
#6898F0
Deuteranopia (green-blind)
#6391EA
Tritanopia (blue-blind)
#6C9EB0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a8bec;
/* rgb */ color: rgb(138, 139, 236);
/* oklch */ color: oklch(67.8% 0.141 281.5);
Tailwind
colors: {
  custom: {
    50: '#b0acf2',
    500: '#8a8bec',
    950: '#000000',
  },
}
SCSS
$custom: #8a8bec;
$custom-light: #b0acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8bec",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 239.388,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67789,
    "c": 0.14142,
    "h": 281.5
  },
  "luminance": 0.29925
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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