#8A8BE4#8A8BE4

#8A8BE4 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.4% C 0.130 H 281.8°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8A8BE4
RGBrgb(138, 139, 228)
HSLhsl(239, 63%, 72%)
HSVhsv(239, 39%, 89%)
CMYKcmyk(39.5%, 39%, 0%, 10.6%)
CIE-LABlab(61.19, 21.21, -45.32)
CIE-LCHlch(61.19, 50.04, 295.08°)
OKLaboklab(67.36% 0.0267 -0.1275)
OKLCHoklch(67.36% 0.13 281.8)
XYZxyz(33.7134, 29.4686, 77.2954)
Luminance0.2947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BE4 #E4E38A
analogous
#8AB8E4 #8A8BE4 #B68AE4
triadic
#8A8BE4 #E48A8B #8BE48A
tetradic
#8A8BE4 #E48AB8 #E4E38A #8AE4B6
square
#8A8BE4 #E48AB8 #E4E38A #8AE4B6
split-complementary
#8A8BE4 #E4B68A #B8E48A
monochromatic
#2E2FC6 #585AD9 #8A8BE4 #BCBCEF #E6E6F9

Accessibility & contrast

On white

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

On black

6.89
#8A8BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8BE4
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BE4#FFFFFF#000000##000000
##8A8BE41.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D97E7
Deuteranopia (green-blind)
#6891E2
Tritanopia (blue-blind)
#709DAD
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8a8be4;
/* rgb */ color: rgb(138, 139, 228);
/* oklch */ color: oklch(67.4% 0.130 281.8);
Tailwind
colors: {
  custom: {
    50: '#afaced',
    500: '#8a8be4',
    950: '#000000',
  },
}
SCSS
$custom: #8a8be4;
$custom-light: #afaced;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8be4",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 228
  },
  "hsl": {
    "h": 239.333,
    "s": 62.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67359,
    "c": 0.13025,
    "h": 281.8
  },
  "luminance": 0.2947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A8BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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