#8A9AFA#8A9AFA

#8A9AFA is a light, vivid blue. Relative luminance 0.354; OKLCH L 71.4% C 0.141 H 275.1°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8A9AFA
RGBrgb(138, 154, 250)
HSLhsl(231, 92%, 76%)
HSVhsv(231, 45%, 98%)
CMYKcmyk(44.8%, 38.4%, 0%, 2%)
CIE-LABlab(66.07, 18.70, -49.74)
CIE-LCHlch(66.07, 53.14, 290.61°)
OKLaboklab(71.44% 0.0125 -0.1403)
OKLCHoklch(71.44% 0.141 275.1)
XYZxyz(39.2868, 35.4145, 95.1895)
Luminance0.3542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9AFA #FAEA8A
analogous
#8AD2FA #8A9AFA #B28AFA
triadic
#8A9AFA #FA8A9A #9AFA8A
tetradic
#8A9AFA #FA8AD2 #FAEA8A #8AFAB2
square
#8A9AFA #FA8AD2 #FAEA8A #8AFAB2
split-complementary
#8A9AFA #FAB28A #D2FA8A
monochromatic
#1535F5 #4F67F7 #8A9AFA #C5CDFD #E2E6FE

Accessibility & contrast

On white

2.60
#8A9AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#8A9AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9AFA
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9AFA#FFFFFF#000000##000000
##8A9AFA1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FE
Deuteranopia (green-blind)
#6D9CF8
Tritanopia (blue-blind)
#62AEBE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8a9afa;
/* rgb */ color: rgb(138, 154, 250);
/* oklch */ color: oklch(71.4% 0.141 275.1);
Tailwind
colors: {
  custom: {
    50: '#b1b7fc',
    500: '#8a9afa',
    950: '#000000',
  },
}
SCSS
$custom: #8a9afa;
$custom-light: #b1b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9afa",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 250
  },
  "hsl": {
    "h": 231.429,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.71444,
    "c": 0.14085,
    "h": 275.1
  },
  "luminance": 0.35417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A9AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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