#8A8BF5#8A8BF5

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

Color values

HEX#8A8BF5
RGBrgb(138, 139, 245)
HSLhsl(239, 84%, 75%)
HSVhsv(239, 44%, 96%)
CMYKcmyk(43.7%, 43.3%, 0%, 3.9%)
CIE-LABlab(62.05, 25.98, -53.37)
CIE-LCHlch(62.05, 59.36, 295.96°)
OKLaboklab(68.29% 0.0297 -0.151)
OKLCHoklch(68.29% 0.154 281.1)
XYZxyz(36.1904, 30.4594, 90.3408)
Luminance0.3046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BF5 #F5F48A
analogous
#8AC1F5 #8A8BF5 #BE8AF5
triadic
#8A8BF5 #F58A8B #8BF58A
tetradic
#8A8BF5 #F58AC1 #F5F48A #8AF5BE
square
#8A8BF5 #F58AC1 #F5F48A #8AF5BE
split-complementary
#8A8BF5 #F5BE8A #C1F58A
monochromatic
#191BEB #5253F0 #8A8BF5 #C2C3FA #E3E3FD

Accessibility & contrast

On white

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

On black

7.09
#8A8BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8BF5
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BF5#FFFFFF#000000##000000
##8A8BF51.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#629AF9
Deuteranopia (green-blind)
#5C92F3
Tritanopia (blue-blind)
#67A1B4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a8bf5;
/* rgb */ color: rgb(138, 139, 245);
/* oklch */ color: oklch(68.3% 0.154 281.1);
Tailwind
colors: {
  custom: {
    50: '#b1acf9',
    500: '#8a8bf5',
    950: '#000000',
  },
}
SCSS
$custom: #8a8bf5;
$custom-light: #b1acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8bf5",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 239.439,
    "s": 84.252,
    "l": 75.098
  },
  "oklch": {
    "l": 0.6829,
    "c": 0.15384,
    "h": 281.1
  },
  "luminance": 0.30461
}

Semantic roles & 50–950 ramp

primary
#8A8BF5
secondary
#F5F4D6
accent
#DF05E1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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