#8A8EF8#8A8EF8

#8A8EF8 is a light, vivid blue. Relative luminance 0.315; OKLCH L 69.0% C 0.154 H 279.9°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#8A8EF8
RGBrgb(138, 142, 248)
HSLhsl(238, 89%, 76%)
HSVhsv(238, 44%, 97%)
CMYKcmyk(44.4%, 42.7%, 0%, 2.7%)
CIE-LABlab(62.95, 25.09, -53.59)
CIE-LCHlch(62.95, 59.17, 295.09°)
OKLaboklab(69.03% 0.0265 -0.1516)
OKLCHoklch(69.03% 0.154 279.9)
XYZxyz(37.0924, 31.5248, 92.9192)
Luminance0.3153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EF8 #F8F48A
analogous
#8AC5F8 #8A8EF8 #BD8AF8
triadic
#8A8EF8 #F88A8E #8EF88A
tetradic
#8A8EF8 #F88AC5 #F8F48A #8AF8BD
square
#8A8EF8 #F88AC5 #F8F48A #8AF8BD
split-complementary
#8A8EF8 #F8BD8A #C5F88A
monochromatic
#171EF1 #5056F5 #8A8EF8 #C4C6FB #E2E3FD

Accessibility & contrast

On white

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

On black

7.31
#8A8EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8EF8
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EF8#FFFFFF#000000##000000
##8A8EF81.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a8ef8;
/* rgb */ color: rgb(138, 142, 248);
/* oklch */ color: oklch(69.0% 0.154 279.9);
Tailwind
colors: {
  custom: {
    50: '#b1affb',
    500: '#8a8ef8',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ef8;
$custom-light: #b1affb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ef8",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 237.818,
    "s": 88.71,
    "l": 75.686
  },
  "oklch": {
    "l": 0.69025,
    "c": 0.15389,
    "h": 279.9
  },
  "luminance": 0.31527
}

Semantic roles & 50–950 ramp

primary
#8A8EF8
secondary
#F5F4D6
accent
#DD00E5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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