#8A9AFE#8A9AFE

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

Color values

HEX#8A9AFE
RGBrgb(138, 154, 254)
HSLhsl(232, 98%, 77%)
HSVhsv(232, 46%, 100%)
CMYKcmyk(45.7%, 39.4%, 0%, 0.4%)
CIE-LABlab(66.27, 19.85, -51.61)
CIE-LCHlch(66.27, 55.30, 291.04°)
OKLaboklab(71.66% 0.0133 -0.1457)
OKLCHoklch(71.66% 0.146 275.2)
XYZxyz(39.9207, 35.6681, 98.5278)
Luminance0.3567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9AFE #FEEE8A
analogous
#8AD4FE #8A9AFE #B48AFE
triadic
#8A9AFE #FE8A9A #9AFE8A
tetradic
#8A9AFE #FE8AD4 #FEEE8A #8AFEB4
square
#8A9AFE #FE8AD4 #FEEE8A #8AFEB4
split-complementary
#8A9AFE #FEB48A #D4FE8A
monochromatic
#1131FD #4D66FD #8A9AFE #C7CEFF #E1E5FF

Accessibility & contrast

On white

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

On black

8.13
#8A9AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9AFE
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9AFE#FFFFFF#000000##000000
##8A9AFE1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A6FF
Deuteranopia (green-blind)
#6A9DFC
Tritanopia (blue-blind)
#60AFC0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8a9afe;
/* rgb */ color: rgb(138, 154, 254);
/* oklch */ color: oklch(71.7% 0.146 275.2);
Tailwind
colors: {
  custom: {
    50: '#b1b7ff',
    500: '#8a9afe',
    950: '#000000',
  },
}
SCSS
$custom: #8a9afe;
$custom-light: #b1b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9afe",
  "rgb": {
    "r": 138,
    "g": 154,
    "b": 254
  },
  "hsl": {
    "h": 231.724,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.71658,
    "c": 0.14635,
    "h": 275.2
  },
  "luminance": 0.3567
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A9AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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