#8A8FE0#8A8FE0

#8A8FE0 is a light, moderate blue. Relative luminance 0.304; OKLCH L 67.9% C 0.119 H 280.0°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8A8FE0
RGBrgb(138, 143, 224)
HSLhsl(237, 58%, 71%)
HSVhsv(237, 38%, 88%)
CMYKcmyk(38.4%, 36.2%, 0%, 12.2%)
CIE-LABlab(62.02, 17.78, -41.79)
CIE-LCHlch(62.02, 45.42, 293.04°)
OKLaboklab(67.93% 0.0207 -0.1172)
OKLCHoklch(67.93% 0.119 280)
XYZxyz(33.7544, 30.4287, 74.6014)
Luminance0.3043 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FE0 #E0DB8A
analogous
#8ABAE0 #8A8FE0 #B08AE0
triadic
#8A8FE0 #E08A8F #8FE08A
tetradic
#8A8FE0 #E08ABA #E0DB8A #8AE0B0
square
#8A8FE0 #E08ABA #E0DB8A #8AE0B0
split-complementary
#8A8FE0 #E0B08A #BAE08A
monochromatic
#323ABD #5A61D3 #8A8FE0 #BABDED #E7E8F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8FE0#FFFFFF#000000##000000
##8A8FE01.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)
#7499E3
Deuteranopia (green-blind)
#6F93DE
Tritanopia (blue-blind)
#719FAD
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a8fe0;
/* rgb */ color: rgb(138, 143, 224);
/* oklch */ color: oklch(67.9% 0.119 280.0);
Tailwind
colors: {
  custom: {
    50: '#afafea',
    500: '#8a8fe0',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fe0;
$custom-light: #afafea;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fe0",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 224
  },
  "hsl": {
    "h": 236.512,
    "s": 58.108,
    "l": 70.98
  },
  "oklch": {
    "l": 0.67932,
    "c": 0.11904,
    "h": 280
  },
  "luminance": 0.3043
}

Semantic roles & 50–950 ramp

primary
#8A8FE0
secondary
#EEEDD7
accent
#BC20C6
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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