#8A8BF6#8A8BF6

#8A8BF6 is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.3% C 0.155 H 281.1°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8A8BF6
RGBrgb(138, 139, 246)
HSLhsl(239, 86%, 75%)
HSVhsv(239, 44%, 96%)
CMYKcmyk(43.9%, 43.5%, 0%, 3.5%)
CIE-LABlab(62.10, 26.27, -53.83)
CIE-LCHlch(62.10, 59.90, 296.01°)
OKLaboklab(68.35% 0.0298 -0.1523)
OKLCHoklch(68.35% 0.155 281.1)
XYZxyz(36.3435, 30.5206, 91.1470)
Luminance0.3052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BF6 #F6F58A
analogous
#8AC1F6 #8A8BF6 #BF8AF6
triadic
#8A8BF6 #F68A8B #8BF68A
tetradic
#8A8BF6 #F68AC1 #F6F58A #8AF6BF
square
#8A8BF6 #F68AC1 #F6F58A #8AF6BF
split-complementary
#8A8BF6 #F6BF8A #C1F68A
monochromatic
#181AED #5153F2 #8A8BF6 #C3C3FA #E3E3FD

Accessibility & contrast

On white

2.96
#8A8BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#8A8BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8BF6
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BF6#FFFFFF#000000##000000
##8A8BF61.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#629AFA
Deuteranopia (green-blind)
#5B92F4
Tritanopia (blue-blind)
#67A1B5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a8bf6;
/* rgb */ color: rgb(138, 139, 246);
/* oklch */ color: oklch(68.3% 0.155 281.1);
Tailwind
colors: {
  custom: {
    50: '#b1acfa',
    500: '#8a8bf6',
    950: '#000000',
  },
}
SCSS
$custom: #8a8bf6;
$custom-light: #b1acfa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8bf6",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 246
  },
  "hsl": {
    "h": 239.444,
    "s": 85.714,
    "l": 75.294
  },
  "oklch": {
    "l": 0.68347,
    "c": 0.15522,
    "h": 281.1
  },
  "luminance": 0.30522
}

Semantic roles & 50–950 ramp

primary
#8A8BF6
secondary
#F5F5D6
accent
#E003E2
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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