#8A8BE1#8A8BE1

#8A8BE1 is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.2% C 0.126 H 282.0°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8A8BE1
RGBrgb(138, 139, 225)
HSLhsl(239, 59%, 71%)
HSVhsv(239, 39%, 88%)
CMYKcmyk(38.7%, 38.2%, 0%, 11.8%)
CIE-LABlab(61.05, 20.38, -43.88)
CIE-LCHlch(61.05, 48.38, 294.91°)
OKLaboklab(67.2% 0.0261 -0.1233)
OKLCHoklch(67.2% 0.126 282)
XYZxyz(33.3006, 29.3035, 75.1211)
Luminance0.2930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8BE1 #E1E08A
analogous
#8AB6E1 #8A8BE1 #B48AE1
triadic
#8A8BE1 #E18A8B #8BE18A
tetradic
#8A8BE1 #E18AB6 #E1E08A #8AE1B4
square
#8A8BE1 #E18AB6 #E1E08A #8AE1B4
split-complementary
#8A8BE1 #E1B48A #B6E18A
monochromatic
#3133BF #595BD5 #8A8BE1 #BBBBED #E7E7F9

Accessibility & contrast

On white

3.06
#8A8BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#8A8BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8BE1
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8BE1#FFFFFF#000000##000000
##8A8BE11.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E96E4
Deuteranopia (green-blind)
#6A90DF
Tritanopia (blue-blind)
#719CAB
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a8be1;
/* rgb */ color: rgb(138, 139, 225);
/* oklch */ color: oklch(67.2% 0.126 282.0);
Tailwind
colors: {
  custom: {
    50: '#afaceb',
    500: '#8a8be1',
    950: '#000000',
  },
}
SCSS
$custom: #8a8be1;
$custom-light: #afaceb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8be1",
  "rgb": {
    "r": 138,
    "g": 139,
    "b": 225
  },
  "hsl": {
    "h": 239.31,
    "s": 59.184,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67201,
    "c": 0.12602,
    "h": 282
  },
  "luminance": 0.29305
}

Semantic roles & 50–950 ramp

primary
#8A8BE1
secondary
#EFEFD8
accent
#C51FC7
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A8BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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