#8A9EFF#8A9EFF

#8A9EFF is a light, vivid blue. Relative luminance 0.371; OKLCH L 72.5% C 0.143 H 273.5°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#8A9EFF
RGBrgb(138, 158, 255)
HSLhsl(230, 100%, 77%)
HSVhsv(230, 46%, 100%)
CMYKcmyk(45.9%, 38%, 0%, 0%)
CIE-LABlab(67.33, 17.84, -50.47)
CIE-LCHlch(67.33, 53.53, 289.46°)
OKLaboklab(72.49% 0.0088 -0.1424)
OKLCHoklch(72.49% 0.143 273.5)
XYZxyz(40.7525, 37.0747, 99.5971)
Luminance0.3708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9EFF #FFEB8A
analogous
#8AD8FF #8A9EFF #B18AFF
triadic
#8A9EFF #FF8A9E #9EFF8A
tetradic
#8A9EFF #FF8AD8 #FFEB8A #8AFFB1
square
#8A9EFF #FF8AD8 #FFEB8A #8AFFB1
split-complementary
#8A9EFF #FFB18A #D8FF8A
monochromatic
#1039FF #4D6BFF #8A9EFF #C7D1FF #E0E6FF

Accessibility & contrast

On white

2.50
#8A9EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#8A9EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9EFF
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9EFF#FFFFFF#000000##000000
##8A9EFF1.002.508.428.42
#FFFFFF2.501.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#6F9FFD
Tritanopia (blue-blind)
#5FB2C2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #8a9eff;
/* rgb */ color: rgb(138, 158, 255);
/* oklch */ color: oklch(72.5% 0.143 273.5);
Tailwind
colors: {
  custom: {
    50: '#b1baff',
    500: '#8a9eff',
    950: '#000000',
  },
}
SCSS
$custom: #8a9eff;
$custom-light: #b1baff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9eff",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 255
  },
  "hsl": {
    "h": 229.744,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.72493,
    "c": 0.14267,
    "h": 273.5
  },
  "luminance": 0.37077
}

Semantic roles & 50–950 ramp

primary
#8A9EFF
secondary
#F7F1D4
accent
#BE00E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8A9EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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