#8A8EE7#8A8EE7

#8A8EE7 is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.1% C 0.130 H 280.4°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8A8EE7
RGBrgb(138, 142, 231)
HSLhsl(237, 66%, 72%)
HSVhsv(237, 40%, 91%)
CMYKcmyk(40.3%, 38.5%, 0%, 9.4%)
CIE-LABlab(62.10, 20.29, -45.56)
CIE-LCHlch(62.10, 49.87, 294.01°)
OKLaboklab(68.1% 0.0235 -0.1282)
OKLCHoklch(68.1% 0.13 280.4)
XYZxyz(34.5738, 30.5174, 79.6546)
Luminance0.3052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EE7 #E7E38A
analogous
#8ABDE7 #8A8EE7 #B48AE7
triadic
#8A8EE7 #E78A8E #8EE78A
tetradic
#8A8EE7 #E78ABD #E7E38A #8AE7B4
square
#8A8EE7 #E78ABD #E7E38A #8AE7B4
split-complementary
#8A8EE7 #E7B48A #BDE78A
monochromatic
#2A31CD #575DDD #8A8EE7 #BDBFF1 #E6E6FA

Accessibility & contrast

On white

2.96
#8A8EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#8A8EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8EE7
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EE7#FFFFFF#000000##000000
##8A8EE71.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9AEA
Deuteranopia (green-blind)
#6A93E5
Tritanopia (blue-blind)
#6EA0AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a8ee7;
/* rgb */ color: rgb(138, 142, 231);
/* oklch */ color: oklch(68.1% 0.130 280.4);
Tailwind
colors: {
  custom: {
    50: '#b0afef',
    500: '#8a8ee7',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ee7;
$custom-light: #b0afef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ee7",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 231
  },
  "hsl": {
    "h": 237.419,
    "s": 65.957,
    "l": 72.353
  },
  "oklch": {
    "l": 0.68099,
    "c": 0.13029,
    "h": 280.4
  },
  "luminance": 0.30519
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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