#8A8BE7#8A8BE7

#8A8BE7 is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.5% C 0.134 H 281.7°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8A8BE7
RGBrgb(138, 139, 231)
HSLhsl(239, 66%, 72%)
HSVhsv(239, 40%, 91%)
CMYKcmyk(40.3%, 39.8%, 0%, 9.4%)
CIE-LABlab(61.34, 22.04, -46.76)
CIE-LCHlch(61.34, 51.69, 295.24°)
OKLaboklab(67.52% 0.0273 -0.1316)
OKLCHoklch(67.52% 0.134 281.7)
XYZxyz(34.1335, 29.6367, 79.5078)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BE7 #E7E68A
analogous
#8AB9E7 #8A8BE7 #B88AE7
triadic
#8A8BE7 #E78A8B #8BE78A
tetradic
#8A8BE7 #E78AB9 #E7E68A #8AE7B8
square
#8A8BE7 #E78AB9 #E7E68A #8AE7B8
split-complementary
#8A8BE7 #E7B88A #B9E78A
monochromatic
#2A2CCD #5759DD #8A8BE7 #BDBDF1 #E6E6FA

Accessibility & contrast

On white

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

On black

6.93
#8A8BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8BE7
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BE7#FFFFFF#000000##000000
##8A8BE71.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a8be7;
/* rgb */ color: rgb(138, 139, 231);
/* oklch */ color: oklch(67.5% 0.134 281.7);
Tailwind
colors: {
  custom: {
    50: '#b0acef',
    500: '#8a8be7',
    950: '#000000',
  },
}
SCSS
$custom: #8a8be7;
$custom-light: #b0acef;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8be7",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 231
  },
  "hsl": {
    "h": 239.355,
    "s": 65.957,
    "l": 72.353
  },
  "oklch": {
    "l": 0.67519,
    "c": 0.13444,
    "h": 281.7
  },
  "luminance": 0.29638
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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