#8A9AFF#8A9AFF

#8A9AFF is a light, vivid blue. Relative luminance 0.357; OKLCH L 71.7% C 0.148 H 275.2°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#8A9AFF
RGBrgb(138, 154, 255)
HSLhsl(232, 100%, 77%)
HSVhsv(232, 46%, 100%)
CMYKcmyk(45.9%, 39.6%, 0%, 0%)
CIE-LABlab(66.31, 20.14, -52.08)
CIE-LCHlch(66.31, 55.84, 291.15°)
OKLaboklab(71.71% 0.0135 -0.1471)
OKLCHoklch(71.71% 0.148 275.2)
XYZxyz(40.0812, 35.7323, 99.3734)
Luminance0.3573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9AFF #FFEF8A
analogous
#8AD5FF #8A9AFF #B58AFF
triadic
#8A9AFF #FF8A9A #9AFF8A
tetradic
#8A9AFF #FF8AD5 #FFEF8A #8AFFB5
square
#8A9AFF #FF8AD5 #FFEF8A #8AFFB5
split-complementary
#8A9AFF #FFB58A #D5FF8A
monochromatic
#1030FF #4D65FF #8A9AFF #C7CFFF #E0E5FF

Accessibility & contrast

On white

2.58
#8A9AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#8A9AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9AFF
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9AFF#FFFFFF#000000##000000
##8A9AFF1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#6A9DFD
Tritanopia (blue-blind)
#5FAFC0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8a9aff;
/* rgb */ color: rgb(138, 154, 255);
/* oklch */ color: oklch(71.7% 0.148 275.2);
Tailwind
colors: {
  custom: {
    50: '#b1b7ff',
    500: '#8a9aff',
    950: '#000000',
  },
}
SCSS
$custom: #8a9aff;
$custom-light: #b1b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9aff",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 255
  },
  "hsl": {
    "h": 231.795,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.71712,
    "c": 0.14774,
    "h": 275.2
  },
  "luminance": 0.35734
}

Semantic roles & 50–950 ramp

primary
#8A9AFF
secondary
#F7F2D4
accent
#C600E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8A9AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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