#8A8EE6#8A8EE6

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

Color values

HEX#8A8EE6
RGBrgb(138, 142, 230)
HSLhsl(237, 65%, 72%)
HSVhsv(237, 40%, 90%)
CMYKcmyk(40%, 38.3%, 0%, 9.8%)
CIE-LABlab(62.05, 20.01, -45.08)
CIE-LCHlch(62.05, 49.32, 293.94°)
OKLaboklab(68.05% 0.0233 -0.1268)
OKLCHoklch(68.05% 0.129 280.4)
XYZxyz(34.4330, 30.4610, 78.9129)
Luminance0.3046 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EE6 #E6E28A
analogous
#8ABCE6 #8A8EE6 #B48AE6
triadic
#8A8EE6 #E68A8E #8EE68A
tetradic
#8A8EE6 #E68ABC #E6E28A #8AE6B4
square
#8A8EE6 #E68ABC #E6E28A #8AE6B4
split-complementary
#8A8EE6 #E6B48A #BCE68A
monochromatic
#2B32CA #585DDB #8A8EE6 #BCBFF1 #E6E7FA

Accessibility & contrast

On white

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

On black

7.09
#8A8EE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8EE6
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EE6#FFFFFF#000000##000000
##8A8EE61.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7099E9
Deuteranopia (green-blind)
#6B93E4
Tritanopia (blue-blind)
#6E9FAF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a8ee6;
/* rgb */ color: rgb(138, 142, 230);
/* oklch */ color: oklch(68.0% 0.129 280.4);
Tailwind
colors: {
  custom: {
    50: '#b0afee',
    500: '#8a8ee6',
    950: '#000000',
  },
}
SCSS
$custom: #8a8ee6;
$custom-light: #b0afee;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8ee6",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 230
  },
  "hsl": {
    "h": 237.391,
    "s": 64.789,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68046,
    "c": 0.12889,
    "h": 280.4
  },
  "luminance": 0.30462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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