#8A8FE5#8A8FE5

#8A8FE5 is a light, vivid blue. Relative luminance 0.307; OKLCH L 68.2% C 0.126 H 280.0°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8A8FE5
RGBrgb(138, 143, 229)
HSLhsl(237, 64%, 72%)
HSVhsv(237, 40%, 90%)
CMYKcmyk(39.7%, 37.6%, 0%, 10.2%)
CIE-LABlab(62.26, 19.15, -44.20)
CIE-LCHlch(62.26, 48.17, 293.43°)
OKLaboklab(68.19% 0.0218 -0.1242)
OKLCHoklch(68.19% 0.126 280)
XYZxyz(34.4424, 30.7039, 78.2252)
Luminance0.3070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FE5 #E5E08A
analogous
#8ABDE5 #8A8FE5 #B38AE5
triadic
#8A8FE5 #E58A8F #8FE58A
tetradic
#8A8FE5 #E58ABD #E5E08A #8AE5B3
square
#8A8FE5 #E58ABD #E5E08A #8AE5B3
split-complementary
#8A8FE5 #E5B38A #BDE58A
monochromatic
#2C35C8 #585FDA #8A8FE5 #BCBFF0 #E6E7F9

Accessibility & contrast

On white

2.94
#8A8FE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#8A8FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FE5
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FE5#FFFFFF#000000##000000
##8A8FE51.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#729AE8
Deuteranopia (green-blind)
#6C93E3
Tritanopia (blue-blind)
#6FA0AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8a8fe5;
/* rgb */ color: rgb(138, 143, 229);
/* oklch */ color: oklch(68.2% 0.126 280.0);
Tailwind
colors: {
  custom: {
    50: '#afafed',
    500: '#8a8fe5',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fe5;
$custom-light: #afafed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fe5",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 229
  },
  "hsl": {
    "h": 236.703,
    "s": 63.636,
    "l": 71.961
  },
  "oklch": {
    "l": 0.68189,
    "c": 0.1261,
    "h": 280
  },
  "luminance": 0.30705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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