#8A9BFC#8A9BFC

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

Color values

HEX#8A9BFC
RGBrgb(138, 155, 252)
HSLhsl(231, 95%, 76%)
HSVhsv(231, 45%, 99%)
CMYKcmyk(45.2%, 38.5%, 0%, 1.2%)
CIE-LABlab(66.42, 18.70, -50.27)
CIE-LCHlch(66.42, 53.64, 290.40°)
OKLaboklab(71.75% 0.0117 -0.1418)
OKLCHoklch(71.75% 0.142 274.7)
XYZxyz(39.7678, 35.8721, 96.9051)
Luminance0.3587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9BFC #FCEB8A
analogous
#8AD4FC #8A9BFC #B28AFC
triadic
#8A9BFC #FC8A9B #9BFC8A
tetradic
#8A9BFC #FC8AD4 #FCEB8A #8AFCB2
square
#8A9BFC #FC8AD4 #FCEB8A #8AFCB2
split-complementary
#8A9BFC #FCB28A #D4FC8A
monochromatic
#1335F9 #4E68FA #8A9BFC #C6CEFE #E1E5FE

Accessibility & contrast

On white

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

On black

8.17
#8A9BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9BFC
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9BFC#FFFFFF#000000##000000
##8A9BFC1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a9bfc;
/* rgb */ color: rgb(138, 155, 252);
/* oklch */ color: oklch(71.7% 0.142 274.7);
Tailwind
colors: {
  custom: {
    50: '#b1b8fe',
    500: '#8a9bfc',
    950: '#000000',
  },
}
SCSS
$custom: #8a9bfc;
$custom-light: #b1b8fe;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9bfc",
  "rgb": {
    "r": 138,
    "g": 155,
    "b": 252
  },
  "hsl": {
    "h": 231.053,
    "s": 95,
    "l": 76.471
  },
  "oklch": {
    "l": 0.71746,
    "c": 0.14233,
    "h": 274.7
  },
  "luminance": 0.35874
}

Semantic roles & 50–950 ramp

primary
#8A9BFC
secondary
#F6F1D5
accent
#C300E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8A9BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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