#8A9CF5#8A9CF5

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

Color values

HEX#8A9CF5
RGBrgb(138, 156, 245)
HSLhsl(230, 84%, 75%)
HSVhsv(230, 44%, 96%)
CMYKcmyk(43.7%, 36.3%, 0%, 3.9%)
CIE-LABlab(66.34, 16.12, -46.57)
CIE-LCHlch(66.34, 49.28, 289.10°)
OKLaboklab(71.58% 0.0091 -0.1311)
OKLCHoklch(71.58% 0.131 274)
XYZxyz(38.8461, 35.7708, 91.2261)
Luminance0.3577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9CF5 #F5E38A
analogous
#8AD1F5 #8A9CF5 #AE8AF5
triadic
#8A9CF5 #F58A9C #9CF58A
tetradic
#8A9CF5 #F58AD1 #F5E38A #8AF5AE
square
#8A9CF5 #F58AD1 #F5E38A #8AF5AE
split-complementary
#8A9CF5 #F5AE8A #D1F58A
monochromatic
#193DEB #526CF0 #8A9CF5 #C2CCFA #E3E7FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9CF5#FFFFFF#000000##000000
##8A9CF51.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)
#7CA6F9
Deuteranopia (green-blind)
#739DF3
Tritanopia (blue-blind)
#65AEBD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #8a9cf5;
/* rgb */ color: rgb(138, 156, 245);
/* oklch */ color: oklch(71.6% 0.131 274.0);
Tailwind
colors: {
  custom: {
    50: '#b1b9f9',
    500: '#8a9cf5',
    950: '#000000',
  },
}
SCSS
$custom: #8a9cf5;
$custom-light: #b1b9f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9cf5",
  "rgb": {
    "r": 138,
    "g": 156,
    "b": 245
  },
  "hsl": {
    "h": 229.907,
    "s": 84.252,
    "l": 75.098
  },
  "oklch": {
    "l": 0.71577,
    "c": 0.13137,
    "h": 274
  },
  "luminance": 0.35773
}

Semantic roles & 50–950 ramp

primary
#8A9CF5
secondary
#F5EFD6
accent
#BC05E1
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A9CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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