#8A8ED8#8A8ED8

#8A8ED8 is a light, moderate blue. Relative luminance 0.297; OKLCH L 67.3% C 0.109 H 280.7°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8A8ED8
RGBrgb(138, 142, 216)
HSLhsl(237, 50%, 69%)
HSVhsv(237, 36%, 85%)
CMYKcmyk(36.1%, 34.3%, 0%, 15.3%)
CIE-LABlab(61.40, 16.18, -38.32)
CIE-LCHlch(61.40, 41.59, 292.89°)
OKLaboklab(67.33% 0.0202 -0.1071)
OKLCHoklch(67.33% 0.109 280.7)
XYZxyz(32.5454, 29.7060, 68.9715)
Luminance0.2971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8ED8 #D8D48A
analogous
#8AB5D8 #8A8ED8 #AD8AD8
triadic
#8A8ED8 #D88A8E #8ED88A
tetradic
#8A8ED8 #D88AB5 #D8D48A #8AD8AD
square
#8A8ED8 #D88AB5 #D8D48A #8AD8AD
split-complementary
#8A8ED8 #D8AD8A #B5D88A
monochromatic
#3A40AE #5C62C9 #8A8ED8 #B8BAE7 #E6E7F7

Accessibility & contrast

On white

3.03
#8A8ED8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#8A8ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8ED8
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8ED8#FFFFFF#000000##000000
##8A8ED81.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7697DB
Deuteranopia (green-blind)
#7292D6
Tritanopia (blue-blind)
#749CA9
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a8ed8;
/* rgb */ color: rgb(138, 142, 216);
/* oklch */ color: oklch(67.3% 0.109 280.7);
Tailwind
colors: {
  custom: {
    50: '#aeafe4',
    500: '#8a8ed8',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ed8;
$custom-light: #aeafe4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ed8",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 216
  },
  "hsl": {
    "h": 236.923,
    "s": 50,
    "l": 69.412
  },
  "oklch": {
    "l": 0.67334,
    "c": 0.10902,
    "h": 280.7
  },
  "luminance": 0.29707
}

Semantic roles & 50–950 ramp

primary
#8A8ED8
secondary
#EAE9D4
accent
#B628BD
background
#FAFAFE
surface
#F5F4FC
border
#CFCED5
text
#111015
muted
#807F84

Preview Lab

Preview with #8A8ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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