#8A9CF6#8A9CF6

#8A9CF6 is a light, vivid blue. Relative luminance 0.358; OKLCH L 71.6% C 0.133 H 274.0°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#8A9CF6
RGBrgb(138, 156, 246)
HSLhsl(230, 86%, 75%)
HSVhsv(230, 44%, 96%)
CMYKcmyk(43.9%, 36.6%, 0%, 3.5%)
CIE-LABlab(66.39, 16.41, -47.05)
CIE-LCHlch(66.39, 49.82, 289.23°)
OKLaboklab(71.63% 0.0093 -0.1324)
OKLCHoklch(71.63% 0.133 274)
XYZxyz(38.9991, 35.8320, 92.0322)
Luminance0.3583 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9CF6 #F6E48A
analogous
#8AD2F6 #8A9CF6 #AE8AF6
triadic
#8A9CF6 #F68A9C #9CF68A
tetradic
#8A9CF6 #F68AD2 #F6E48A #8AF6AE
square
#8A9CF6 #F68AD2 #F6E48A #8AF6AE
split-complementary
#8A9CF6 #F6AE8A #D2F68A
monochromatic
#183CED #516CF2 #8A9CF6 #C3CCFA #E3E7FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9CF6#FFFFFF#000000##000000
##8A9CF61.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)
#7CA6FA
Deuteranopia (green-blind)
#729DF4
Tritanopia (blue-blind)
#65AEBD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8a9cf6;
/* rgb */ color: rgb(138, 156, 246);
/* oklch */ color: oklch(71.6% 0.133 274.0);
Tailwind
colors: {
  custom: {
    50: '#b1b9f9',
    500: '#8a9cf6',
    950: '#000000',
  },
}
SCSS
$custom: #8a9cf6;
$custom-light: #b1b9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9cf6",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 246
  },
  "hsl": {
    "h": 230,
    "s": 85.714,
    "l": 75.294
  },
  "oklch": {
    "l": 0.71628,
    "c": 0.13276,
    "h": 274
  },
  "luminance": 0.35834
}

Semantic roles & 50–950 ramp

primary
#8A9CF6
secondary
#F5F0D6
accent
#BD03E2
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A9CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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