#8A91E4#8A91E4

#8A91E4 is a light, vivid blue. Relative luminance 0.313; OKLCH L 68.5% C 0.122 H 279.0°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8A91E4
RGBrgb(138, 145, 228)
HSLhsl(235, 63%, 72%)
HSVhsv(235, 39%, 89%)
CMYKcmyk(39.5%, 36.4%, 0%, 10.6%)
CIE-LABlab(62.72, 17.72, -42.92)
CIE-LCHlch(62.72, 46.43, 292.43°)
OKLaboklab(68.53% 0.019 -0.1205)
OKLCHoklch(68.53% 0.122 279)
XYZxyz(34.6061, 31.2541, 77.5930)
Luminance0.3126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A91E4 #E4DD8A
analogous
#8ABEE4 #8A91E4 #B08AE4
triadic
#8A91E4 #E48A91 #91E48A
tetradic
#8A91E4 #E48ABE #E4DD8A #8AE4B0
square
#8A91E4 #E48ABE #E4DD8A #8AE4B0
split-complementary
#8A91E4 #E4B08A #BEE48A
monochromatic
#2E3AC6 #5862D9 #8A91E4 #BCC0EF #E6E8F9

Accessibility & contrast

On white

2.90
#8A91E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#8A91E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A91E4
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A91E4#FFFFFF#000000##000000
##8A91E41.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#759BE7
Deuteranopia (green-blind)
#6F95E2
Tritanopia (blue-blind)
#6FA1B0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8a91e4;
/* rgb */ color: rgb(138, 145, 228);
/* oklch */ color: oklch(68.5% 0.122 279.0);
Tailwind
colors: {
  custom: {
    50: '#afb1ed',
    500: '#8a91e4',
    950: '#000000',
  },
}
SCSS
$custom: #8a91e4;
$custom-light: #afb1ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8a91e4",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 228
  },
  "hsl": {
    "h": 235.333,
    "s": 62.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.6853,
    "c": 0.12196,
    "h": 279
  },
  "luminance": 0.31256
}

Semantic roles & 50–950 ramp

primary
#8A91E4
secondary
#F0EFD9
accent
#BD1BCA
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A91E4

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

Preview Lab → · Contrast checker → · Palette generator →

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