#8A8BED#8A8BED

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

Color values

HEX#8A8BED
RGBrgb(138, 139, 237)
HSLhsl(239, 73%, 74%)
HSVhsv(239, 42%, 93%)
CMYKcmyk(41.8%, 41.4%, 0%, 7.1%)
CIE-LABlab(61.64, 23.72, -49.61)
CIE-LCHlch(61.64, 54.98, 295.56°)
OKLaboklab(67.84% 0.0284 -0.14)
OKLCHoklch(67.84% 0.143 281.5)
XYZxyz(34.9954, 29.9814, 84.0474)
Luminance0.2998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BED #EDEC8A
analogous
#8ABCED #8A8BED #BA8AED
triadic
#8A8BED #ED8A8B #8BED8A
tetradic
#8A8BED #ED8ABC #EDEC8A #8AEDBA
square
#8A8BED #ED8ABC #EDEC8A #8AEDBA
split-complementary
#8A8BED #EDBA8A #BCED8A
monochromatic
#2224DB #5556E5 #8A8BED #BFC0F5 #E4E5FB

Accessibility & contrast

On white

3.00
#8A8BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#8A8BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8BED
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BED#FFFFFF#000000##000000
##8A8BED1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F1
Deuteranopia (green-blind)
#6291EB
Tritanopia (blue-blind)
#6B9FB1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a8bed;
/* rgb */ color: rgb(138, 139, 237);
/* oklch */ color: oklch(67.8% 0.143 281.5);
Tailwind
colors: {
  custom: {
    50: '#b0acf3',
    500: '#8a8bed',
    950: '#000000',
  },
}
SCSS
$custom: #8a8bed;
$custom-light: #b0acf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8bed",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 237
  },
  "hsl": {
    "h": 239.394,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67844,
    "c": 0.14281,
    "h": 281.5
  },
  "luminance": 0.29983
}

Semantic roles & 50–950 ramp

primary
#8A8BED
secondary
#F3F2D8
accent
#D310D5
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8BED

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

Preview Lab → · Contrast checker → · Palette generator →

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