#8A8EFB#8A8EFB

#8A8EFB is a light, vivid blue. Relative luminance 0.317; OKLCH L 69.2% C 0.158 H 279.8°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8A8EFB
RGBrgb(138, 142, 251)
HSLhsl(238, 93%, 76%)
HSVhsv(238, 45%, 98%)
CMYKcmyk(45%, 43.4%, 0%, 1.6%)
CIE-LABlab(63.10, 25.95, -54.98)
CIE-LCHlch(63.10, 60.80, 295.27°)
OKLaboklab(69.19% 0.027 -0.1557)
OKLCHoklch(69.19% 0.158 279.8)
XYZxyz(37.5616, 31.7125, 95.3900)
Luminance0.3171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8EFB #FBF78A
analogous
#8AC7FB #8A8EFB #BF8AFB
triadic
#8A8EFB #FB8A8E #8EFB8A
tetradic
#8A8EFB #FB8AC7 #FBF78A #8AFBBF
square
#8A8EFB #FB8AC7 #FBF78A #8AFBBF
split-complementary
#8A8EFB #FBBF8A #C7FB8A
monochromatic
#141CF7 #4F55F9 #8A8EFB #C5C7FD #E1E2FE

Accessibility & contrast

On white

2.86
#8A8EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#8A8EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8EFB
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8EFB#FFFFFF#000000##000000
##8A8EFB1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#5C95F9
Tritanopia (blue-blind)
#63A5B8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8a8efb;
/* rgb */ color: rgb(138, 142, 251);
/* oklch */ color: oklch(69.2% 0.158 279.8);
Tailwind
colors: {
  custom: {
    50: '#b1affd',
    500: '#8a8efb',
    950: '#000000',
  },
}
SCSS
$custom: #8a8efb;
$custom-light: #b1affd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8efb",
  "rgb": {
    "r": 138,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 237.876,
    "s": 93.388,
    "l": 76.275
  },
  "oklch": {
    "l": 0.69194,
    "c": 0.158,
    "h": 279.8
  },
  "luminance": 0.31714
}

Semantic roles & 50–950 ramp

primary
#8A8EFB
secondary
#F6F5D5
accent
#DD00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8A8EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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