#8A94FE#8A94FE

#8A94FE is a light, vivid blue. Relative luminance 0.337; OKLCH L 70.5% C 0.154 H 277.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#8A94FE
RGBrgb(138, 148, 254)
HSLhsl(235, 98%, 77%)
HSVhsv(235, 46%, 100%)
CMYKcmyk(45.7%, 41.7%, 0%, 0.4%)
CIE-LABlab(64.75, 23.33, -54.01)
CIE-LCHlch(64.75, 58.83, 293.36°)
OKLaboklab(70.5% 0.0204 -0.1528)
OKLCHoklch(70.5% 0.154 277.6)
XYZxyz(38.9551, 33.7368, 98.2059)
Luminance0.3374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A94FE #FEF48A
analogous
#8ACEFE #8A94FE #BA8AFE
triadic
#8A94FE #FE8A94 #94FE8A
tetradic
#8A94FE #FE8ACE #FEF48A #8AFEBA
square
#8A94FE #FE8ACE #FEF48A #8AFEBA
split-complementary
#8A94FE #FEBA8A #CEFE8A
monochromatic
#1125FD #4D5DFD #8A94FE #C7CBFF #E1E3FF

Accessibility & contrast

On white

2.71
#8A94FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#8A94FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A94FE
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A94FE#FFFFFF#000000##000000
##8A94FE1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA2FF
Deuteranopia (green-blind)
#6299FC
Tritanopia (blue-blind)
#61AABD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #8a94fe;
/* rgb */ color: rgb(138, 148, 254);
/* oklch */ color: oklch(70.5% 0.154 277.6);
Tailwind
colors: {
  custom: {
    50: '#b2b3ff',
    500: '#8a94fe',
    950: '#000000',
  },
}
SCSS
$custom: #8a94fe;
$custom-light: #b2b3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a94fe",
  "rgb": {
    "r": 138,
    "g": 148,
    "b": 254
  },
  "hsl": {
    "h": 234.828,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.70501,
    "c": 0.15414,
    "h": 277.6
  },
  "luminance": 0.33739
}

Semantic roles & 50–950 ramp

primary
#8A94FE
secondary
#F7F4D4
accent
#D200E6
background
#FBFBFF
surface
#F6F6FF
border
#D0D0D7
text
#111118
muted
#808086

Preview Lab

Preview with #8A94FE

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

Preview Lab → · Contrast checker → · Palette generator →

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