#8A9BF7#8A9BF7

#8A9BF7 is a light, vivid blue. Relative luminance 0.356; OKLCH L 71.5% C 0.135 H 274.5°. Best body text is #000000 at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#8A9BF7
RGBrgb(138, 155, 247)
HSLhsl(231, 87%, 75%)
HSVhsv(231, 44%, 97%)
CMYKcmyk(44.1%, 37.2%, 0%, 3.1%)
CIE-LABlab(66.18, 17.27, -47.92)
CIE-LCHlch(66.18, 50.94, 289.82°)
OKLaboklab(71.48% 0.0107 -0.135)
OKLCHoklch(71.48% 0.135 274.5)
XYZxyz(38.9859, 35.5593, 92.7870)
Luminance0.3556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9BF7 #F7E68A
analogous
#8AD2F7 #8A9BF7 #AF8AF7
triadic
#8A9BF7 #F78A9B #9BF78A
tetradic
#8A9BF7 #F78AD2 #F7E68A #8AF7AF
square
#8A9BF7 #F78AD2 #F7E68A #8AF7AF
split-complementary
#8A9BF7 #F7AF8A #D2F78A
monochromatic
#1739EF #516AF3 #8A9BF7 #C3CCFB #E2E7FD

Accessibility & contrast

On white

2.59
#8A9BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.11
#8A9BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9BF7
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9BF7#FFFFFF#000000##000000
##8A9BF71.002.598.118.11
#FFFFFF2.591.0021.0021.00
#0000008.1121.001.001.00
##0000008.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FB
Deuteranopia (green-blind)
#709DF5
Tritanopia (blue-blind)
#64AEBD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8a9bf7;
/* rgb */ color: rgb(138, 155, 247);
/* oklch */ color: oklch(71.5% 0.135 274.5);
Tailwind
colors: {
  custom: {
    50: '#b1b8fa',
    500: '#8a9bf7',
    950: '#000000',
  },
}
SCSS
$custom: #8a9bf7;
$custom-light: #b1b8fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9bf7",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 247
  },
  "hsl": {
    "h": 230.642,
    "s": 87.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.71483,
    "c": 0.13541,
    "h": 274.5
  },
  "luminance": 0.35561
}

Semantic roles & 50–950 ramp

primary
#8A9BF7
secondary
#F5F0D6
accent
#C102E4
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A9BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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