#8A8EF5#8A8EF5

#8A8EF5 is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.9% C 0.150 H 280.0°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8A8EF5
RGBrgb(138, 142, 245)
HSLhsl(238, 84%, 75%)
HSVhsv(238, 44%, 96%)
CMYKcmyk(43.7%, 42%, 0%, 3.9%)
CIE-LABlab(62.79, 24.24, -52.18)
CIE-LCHlch(62.79, 57.54, 294.91°)
OKLaboklab(68.86% 0.026 -0.1475)
OKLCHoklch(68.86% 0.15 280)
XYZxyz(36.6307, 31.3401, 90.4876)
Luminance0.3134 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EF5 #F5F18A
analogous
#8AC3F5 #8A8EF5 #BB8AF5
triadic
#8A8EF5 #F58A8E #8EF58A
tetradic
#8A8EF5 #F58AC3 #F5F18A #8AF5BB
square
#8A8EF5 #F58AC3 #F5F18A #8AF5BB
split-complementary
#8A8EF5 #F5BB8A #C3F58A
monochromatic
#1921EB #5258F0 #8A8EF5 #C2C4FA #E3E4FD

Accessibility & contrast

On white

2.89
#8A8EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#8A8EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8EF5
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EF5#FFFFFF#000000##000000
##8A8EF51.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#679CF9
Deuteranopia (green-blind)
#6094F3
Tritanopia (blue-blind)
#67A3B6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a8ef5;
/* rgb */ color: rgb(138, 142, 245);
/* oklch */ color: oklch(68.9% 0.150 280.0);
Tailwind
colors: {
  custom: {
    50: '#b1aff9',
    500: '#8a8ef5',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ef5;
$custom-light: #b1aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ef5",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 237.757,
    "s": 84.252,
    "l": 75.098
  },
  "oklch": {
    "l": 0.68857,
    "c": 0.14977,
    "h": 280
  },
  "luminance": 0.31342
}

Semantic roles & 50–950 ramp

primary
#8A8EF5
secondary
#F5F3D6
accent
#D805E1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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