#8A8BEF#8A8BEF

#8A8BEF is a light, vivid blue. Relative luminance 0.301; OKLCH L 68.0% C 0.146 H 281.4°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8A8BEF
RGBrgb(138, 139, 239)
HSLhsl(239, 76%, 74%)
HSVhsv(239, 42%, 94%)
CMYKcmyk(42.3%, 41.8%, 0%, 6.3%)
CIE-LABlab(61.74, 24.28, -50.55)
CIE-LCHlch(61.74, 56.08, 295.66°)
OKLaboklab(67.95% 0.0287 -0.1427)
OKLCHoklch(67.95% 0.146 281.4)
XYZxyz(35.2893, 30.0990, 85.5949)
Luminance0.3010 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BEF #EFEE8A
analogous
#8ABEEF #8A8BEF #BC8AEF
triadic
#8A8BEF #EF8A8B #8BEF8A
tetradic
#8A8BEF #EF8ABE #EFEE8A #8AEFBC
square
#8A8BEF #EF8ABE #EFEE8A #8AEFBC
split-complementary
#8A8BEF #EFBC8A #BEEF8A
monochromatic
#1F21E0 #5456E8 #8A8BEF #C0C0F6 #E4E4FB

Accessibility & contrast

On white

2.99
#8A8BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#8A8BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A8BEF
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BEF#FFFFFF#000000##000000
##8A8BEF1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#6192ED
Tritanopia (blue-blind)
#6A9FB1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a8bef;
/* rgb */ color: rgb(138, 139, 239);
/* oklch */ color: oklch(68.0% 0.146 281.4);
Tailwind
colors: {
  custom: {
    50: '#b0acf5',
    500: '#8a8bef',
    950: '#000000',
  },
}
SCSS
$custom: #8a8bef;
$custom-light: #b0acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8bef",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 239
  },
  "hsl": {
    "h": 239.406,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.67954,
    "c": 0.14559,
    "h": 281.4
  },
  "luminance": 0.30101
}

Semantic roles & 50–950 ramp

primary
#8A8BEF
secondary
#F3F3D8
accent
#D60DD8
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #8A8BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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