#8A8FE4#8A8FE4

#8A8FE4 is a light, vivid blue. Relative luminance 0.306; OKLCH L 68.1% C 0.125 H 280.0°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#8A8FE4
RGBrgb(138, 143, 228)
HSLhsl(237, 63%, 72%)
HSVhsv(237, 39%, 89%)
CMYKcmyk(39.5%, 37.3%, 0%, 10.6%)
CIE-LABlab(62.21, 18.88, -43.72)
CIE-LCHlch(62.21, 47.62, 293.35°)
OKLaboklab(68.14% 0.0216 -0.1228)
OKLCHoklch(68.14% 0.125 280)
XYZxyz(34.3032, 30.6482, 77.4920)
Luminance0.3065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8FE4 #E4DF8A
analogous
#8ABCE4 #8A8FE4 #B28AE4
triadic
#8A8FE4 #E48A8F #8FE48A
tetradic
#8A8FE4 #E48ABC #E4DF8A #8AE4B2
square
#8A8FE4 #E48ABC #E4DF8A #8AE4B2
split-complementary
#8A8FE4 #E4B28A #BCE48A
monochromatic
#2E36C6 #585FD9 #8A8FE4 #BCBFEF #E6E7F9

Accessibility & contrast

On white

2.95
#8A8FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#8A8FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8FE4
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8FE4#FFFFFF#000000##000000
##8A8FE41.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a8fe4;
/* rgb */ color: rgb(138, 143, 228);
/* oklch */ color: oklch(68.1% 0.125 280.0);
Tailwind
colors: {
  custom: {
    50: '#afafed',
    500: '#8a8fe4',
    950: '#000000',
  },
}
SCSS
$custom: #8a8fe4;
$custom-light: #afafed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8fe4",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 228
  },
  "hsl": {
    "h": 236.667,
    "s": 62.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.68137,
    "c": 0.12469,
    "h": 280
  },
  "luminance": 0.3065
}

Semantic roles & 50–950 ramp

primary
#8A8FE4
secondary
#F0EFD9
accent
#C11BCA
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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