#8A8EE8#8A8EE8

#8A8EE8 is a light, vivid blue. Relative luminance 0.306; OKLCH L 68.2% C 0.132 H 280.4°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8A8EE8
RGBrgb(138, 142, 232)
HSLhsl(237, 67%, 73%)
HSVhsv(237, 41%, 91%)
CMYKcmyk(40.5%, 38.8%, 0%, 9%)
CIE-LABlab(62.15, 20.57, -46.04)
CIE-LCHlch(62.15, 50.42, 294.08°)
OKLaboklab(68.15% 0.0237 -0.1295)
OKLCHoklch(68.15% 0.132 280.4)
XYZxyz(34.7155, 30.5740, 80.4005)
Luminance0.3058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EE8 #E8E48A
analogous
#8ABDE8 #8A8EE8 #B58AE8
triadic
#8A8EE8 #E88A8E #8EE88A
tetradic
#8A8EE8 #E88ABD #E8E48A #8AE8B5
square
#8A8EE8 #E88ABD #E8E48A #8AE8B5
split-complementary
#8A8EE8 #E8B58A #BDE88A
monochromatic
#2930CF #575DDE #8A8EE8 #BDBFF2 #E5E6FA

Accessibility & contrast

On white

2.95
#8A8EE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#8A8EE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8EE8
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EE8#FFFFFF#000000##000000
##8A8EE81.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9AEC
Deuteranopia (green-blind)
#6993E6
Tritanopia (blue-blind)
#6DA0B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a8ee8;
/* rgb */ color: rgb(138, 142, 232);
/* oklch */ color: oklch(68.2% 0.132 280.4);
Tailwind
colors: {
  custom: {
    50: '#b0aff0',
    500: '#8a8ee8',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ee8;
$custom-light: #b0aff0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ee8",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 232
  },
  "hsl": {
    "h": 237.447,
    "s": 67.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.68151,
    "c": 0.1317,
    "h": 280.4
  },
  "luminance": 0.30575
}

Semantic roles & 50–950 ramp

primary
#8A8EE8
secondary
#F1F0DA
accent
#C716CF
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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