#8A8BE8#8A8BE8

#8A8BE8 is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.6% C 0.136 H 281.7°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8A8BE8
RGBrgb(138, 139, 232)
HSLhsl(239, 67%, 73%)
HSVhsv(239, 41%, 91%)
CMYKcmyk(40.5%, 40.1%, 0%, 9%)
CIE-LABlab(61.39, 22.32, -47.23)
CIE-LCHlch(61.39, 52.24, 295.29°)
OKLaboklab(67.57% 0.0275 -0.133)
OKLCHoklch(67.57% 0.136 281.7)
XYZxyz(34.2751, 29.6933, 80.2537)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BE8 #E8E78A
analogous
#8ABAE8 #8A8BE8 #B88AE8
triadic
#8A8BE8 #E88A8B #8BE88A
tetradic
#8A8BE8 #E88ABA #E8E78A #8AE8B8
square
#8A8BE8 #E88ABA #E8E78A #8AE8B8
split-complementary
#8A8BE8 #E8B88A #BAE88A
monochromatic
#292ACF #5758DE #8A8BE8 #BDBEF2 #E5E6FA

Accessibility & contrast

On white

3.03
#8A8BE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#8A8BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8BE8
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BE8#FFFFFF#000000##000000
##8A8BE81.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A98EC
Deuteranopia (green-blind)
#6691E6
Tritanopia (blue-blind)
#6E9DAE
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a8be8;
/* rgb */ color: rgb(138, 139, 232);
/* oklch */ color: oklch(67.6% 0.136 281.7);
Tailwind
colors: {
  custom: {
    50: '#b0acf0',
    500: '#8a8be8',
    950: '#000000',
  },
}
SCSS
$custom: #8a8be8;
$custom-light: #b0acf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8be8",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 232
  },
  "hsl": {
    "h": 239.362,
    "s": 67.143,
    "l": 72.549
  },
  "oklch": {
    "l": 0.67572,
    "c": 0.13584,
    "h": 281.7
  },
  "luminance": 0.29695
}

Semantic roles & 50–950 ramp

primary
#8A8BE8
secondary
#F1F1DA
accent
#CD16CF
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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