#8A8EF9#8A8EF9

#8A8EF9 is a light, vivid blue. Relative luminance 0.316; OKLCH L 69.1% C 0.155 H 279.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8A8EF9
RGBrgb(138, 142, 249)
HSLhsl(238, 90%, 76%)
HSVhsv(238, 45%, 98%)
CMYKcmyk(44.6%, 43%, 0%, 2.4%)
CIE-LABlab(63.00, 25.38, -54.05)
CIE-LCHlch(63.00, 59.72, 295.15°)
OKLaboklab(69.08% 0.0267 -0.153)
OKLCHoklch(69.08% 0.155 279.9)
XYZxyz(37.2480, 31.5870, 93.7384)
Luminance0.3159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EF9 #F9F58A
analogous
#8AC5F9 #8A8EF9 #BD8AF9
triadic
#8A8EF9 #F98A8E #8EF98A
tetradic
#8A8EF9 #F98AC5 #F9F58A #8AF9BD
square
#8A8EF9 #F98AC5 #F9F58A #8AF9BD
split-complementary
#8A8EF9 #F9BD8A #C5F98A
monochromatic
#161EF3 #5056F6 #8A8EF9 #C4C6FC #E2E3FE

Accessibility & contrast

On white

2.87
#8A8EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#8A8EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8EF9
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EF9#FFFFFF#000000##000000
##8A8EF91.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFD
Deuteranopia (green-blind)
#5D94F7
Tritanopia (blue-blind)
#65A4B7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a8ef9;
/* rgb */ color: rgb(138, 142, 249);
/* oklch */ color: oklch(69.1% 0.155 279.9);
Tailwind
colors: {
  custom: {
    50: '#b1affc',
    500: '#8a8ef9',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ef9;
$custom-light: #b1affc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ef9",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 249
  },
  "hsl": {
    "h": 237.838,
    "s": 90.244,
    "l": 75.882
  },
  "oklch": {
    "l": 0.69081,
    "c": 0.15527,
    "h": 279.9
  },
  "luminance": 0.31589
}

Semantic roles & 50–950 ramp

primary
#8A8EF9
secondary
#F6F4D5
accent
#DD00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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