#8A8BE3#8A8BE3

#8A8BE3 is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.3% C 0.129 H 281.9°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8A8BE3
RGBrgb(138, 139, 227)
HSLhsl(239, 61%, 72%)
HSVhsv(239, 39%, 89%)
CMYKcmyk(39.2%, 38.8%, 0%, 11%)
CIE-LABlab(61.14, 20.93, -44.84)
CIE-LCHlch(61.14, 49.49, 295.02°)
OKLaboklab(67.31% 0.0265 -0.1261)
OKLCHoklch(67.31% 0.129 281.9)
XYZxyz(33.5750, 29.4133, 76.5664)
Luminance0.2942 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BE3 #E3E28A
analogous
#8AB8E3 #8A8BE3 #B68AE3
triadic
#8A8BE3 #E38A8B #8BE38A
tetradic
#8A8BE3 #E38AB8 #E3E28A #8AE3B6
square
#8A8BE3 #E38AB8 #E3E28A #8AE3B6
split-complementary
#8A8BE3 #E3B68A #B8E38A
monochromatic
#2F31C4 #595AD7 #8A8BE3 #BBBCEF #E6E7F9

Accessibility & contrast

On white

3.05
#8A8BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#8A8BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8BE3
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BE3#FFFFFF#000000##000000
##8A8BE31.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D97E6
Deuteranopia (green-blind)
#6991E1
Tritanopia (blue-blind)
#709CAC
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a8be3;
/* rgb */ color: rgb(138, 139, 227);
/* oklch */ color: oklch(67.3% 0.129 281.9);
Tailwind
colors: {
  custom: {
    50: '#afacec',
    500: '#8a8be3',
    950: '#000000',
  },
}
SCSS
$custom: #8a8be3;
$custom-light: #afacec;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8be3",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 227
  },
  "hsl": {
    "h": 239.326,
    "s": 61.379,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67306,
    "c": 0.12883,
    "h": 281.9
  },
  "luminance": 0.29415
}

Semantic roles & 50–950 ramp

primary
#8A8BE3
secondary
#F0F0D9
accent
#C71CC9
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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