#8A94F8#8A94F8

#8A94F8 is a light, vivid blue. Relative luminance 0.334; OKLCH L 70.2% C 0.146 H 277.6°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#8A94F8
RGBrgb(138, 148, 248)
HSLhsl(235, 89%, 76%)
HSVhsv(235, 44%, 97%)
CMYKcmyk(44.4%, 40.3%, 0%, 2.7%)
CIE-LABlab(64.45, 21.60, -51.21)
CIE-LCHlch(64.45, 55.58, 292.88°)
OKLaboklab(70.17% 0.0193 -0.1446)
OKLCHoklch(70.17% 0.146 277.6)
XYZxyz(38.0093, 33.3585, 93.2248)
Luminance0.3336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A94F8 #F8EE8A
analogous
#8ACBF8 #8A94F8 #B78AF8
triadic
#8A94F8 #F88A94 #94F88A
tetradic
#8A94F8 #F88ACB #F8EE8A #8AF8B7
square
#8A94F8 #F88ACB #F8EE8A #8AF8B7
split-complementary
#8A94F8 #F8B78A #CBF88A
monochromatic
#172AF1 #505FF5 #8A94F8 #C4C9FB #E2E5FD

Accessibility & contrast

On white

2.74
#8A94F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#8A94F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A94F8
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A94F8#FFFFFF#000000##000000
##8A94F81.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA1FC
Deuteranopia (green-blind)
#6698F6
Tritanopia (blue-blind)
#64A9BA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #8a94f8;
/* rgb */ color: rgb(138, 148, 248);
/* oklch */ color: oklch(70.2% 0.146 277.6);
Tailwind
colors: {
  custom: {
    50: '#b1b3fb',
    500: '#8a94f8',
    950: '#000000',
  },
}
SCSS
$custom: #8a94f8;
$custom-light: #b1b3fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a94f8",
  "rgb": {
    "r": 138,
    "g": 148,
    "b": 248
  },
  "hsl": {
    "h": 234.545,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.70171,
    "c": 0.14589,
    "h": 277.6
  },
  "luminance": 0.3336
}

Semantic roles & 50–950 ramp

primary
#8A94F8
secondary
#F5F2D6
accent
#D000E5
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111117
muted
#808085

Preview Lab

Preview with #8A94F8

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

Preview Lab → · Contrast checker → · Palette generator →

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