#8A91E6#8A91E6

#8A91E6 is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.6% C 0.125 H 279.0°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#8A91E6
RGBrgb(138, 145, 230)
HSLhsl(235, 65%, 72%)
HSVhsv(235, 40%, 90%)
CMYKcmyk(40%, 37%, 0%, 9.8%)
CIE-LABlab(62.82, 18.27, -43.88)
CIE-LCHlch(62.82, 47.53, 292.61°)
OKLaboklab(68.63% 0.0195 -0.1232)
OKLCHoklch(68.63% 0.125 279)
XYZxyz(34.8854, 31.3658, 79.0636)
Luminance0.3137 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A91E6 #E6DF8A
analogous
#8ABFE6 #8A91E6 #B18AE6
triadic
#8A91E6 #E68A91 #91E68A
tetradic
#8A91E6 #E68ABF #E6DF8A #8AE6B1
square
#8A91E6 #E68ABF #E6DF8A #8AE6B1
split-complementary
#8A91E6 #E6B18A #BFE68A
monochromatic
#2B37CA #5862DB #8A91E6 #BCC0F1 #E6E7FA

Accessibility & contrast

On white

2.89
#8A91E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#8A91E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A91E6
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A91E6#FFFFFF#000000##000000
##8A91E61.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#749CE9
Deuteranopia (green-blind)
#6E95E4
Tritanopia (blue-blind)
#6EA2B1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a91e6;
/* rgb */ color: rgb(138, 145, 230);
/* oklch */ color: oklch(68.6% 0.125 279.0);
Tailwind
colors: {
  custom: {
    50: '#afb1ee',
    500: '#8a91e6',
    950: '#000000',
  },
}
SCSS
$custom: #8a91e6;
$custom-light: #afb1ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8a91e6",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 230
  },
  "hsl": {
    "h": 235.435,
    "s": 64.789,
    "l": 72.157
  },
  "oklch": {
    "l": 0.68633,
    "c": 0.12478,
    "h": 279
  },
  "luminance": 0.31367
}

Semantic roles & 50–950 ramp

primary
#8A91E6
secondary
#F1EFDA
accent
#BF19CD
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A91E6

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

Preview Lab → · Contrast checker → · Palette generator →

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