#8A9BFB#8A9BFB

#8A9BFB is a light, vivid blue. Relative luminance 0.358; OKLCH L 71.7% C 0.141 H 274.7°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8A9BFB
RGBrgb(138, 155, 251)
HSLhsl(231, 93%, 76%)
HSVhsv(231, 45%, 98%)
CMYKcmyk(45%, 38.2%, 0%, 1.6%)
CIE-LABlab(66.37, 18.41, -49.80)
CIE-LCHlch(66.37, 53.10, 290.29°)
OKLaboklab(71.69% 0.0115 -0.1405)
OKLCHoklch(71.69% 0.141 274.7)
XYZxyz(39.6098, 35.8089, 96.0728)
Luminance0.3581 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9BFB #FBEA8A
analogous
#8AD4FB #8A9BFB #B28AFB
triadic
#8A9BFB #FB8A9B #9BFB8A
tetradic
#8A9BFB #FB8AD4 #FBEA8A #8AFBB2
square
#8A9BFB #FB8AD4 #FBEA8A #8AFBB2
split-complementary
#8A9BFB #FBB28A #D4FB8A
monochromatic
#1436F7 #4F68F9 #8A9BFB #C5CEFD #E1E6FE

Accessibility & contrast

On white

2.57
#8A9BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#8A9BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9BFB
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9BFB#FFFFFF#000000##000000
##8A9BFB1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FF
Deuteranopia (green-blind)
#6E9DF9
Tritanopia (blue-blind)
#62AFBF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8a9bfb;
/* rgb */ color: rgb(138, 155, 251);
/* oklch */ color: oklch(71.7% 0.141 274.7);
Tailwind
colors: {
  custom: {
    50: '#b1b8fd',
    500: '#8a9bfb',
    950: '#000000',
  },
}
SCSS
$custom: #8a9bfb;
$custom-light: #b1b8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9bfb",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 251
  },
  "hsl": {
    "h": 230.973,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.71693,
    "c": 0.14095,
    "h": 274.7
  },
  "luminance": 0.35811
}

Semantic roles & 50–950 ramp

primary
#8A9BFB
secondary
#F6F1D5
accent
#C300E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A9BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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