#8A91EC#8A91EC

#8A91EC is a light, vivid blue. Relative luminance 0.317; OKLCH L 68.9% C 0.133 H 278.9°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8A91EC
RGBrgb(138, 145, 236)
HSLhsl(236, 72%, 73%)
HSVhsv(236, 42%, 93%)
CMYKcmyk(41.5%, 38.6%, 0%, 7.5%)
CIE-LABlab(63.10, 19.94, -46.74)
CIE-LCHlch(63.10, 50.82, 293.11°)
OKLaboklab(68.95% 0.0207 -0.1316)
OKLCHoklch(68.95% 0.133 278.9)
XYZxyz(35.7425, 31.7086, 83.5777)
Luminance0.3171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A91EC #ECE58A
analogous
#8AC2EC #8A91EC #B48AEC
triadic
#8A91EC #EC8A91 #91EC8A
tetradic
#8A91EC #EC8AC2 #ECE58A #8AECB4
square
#8A91EC #EC8AC2 #ECE58A #8AECB4
split-complementary
#8A91EC #ECB48A #C2EC8A
monochromatic
#2330D8 #555FE3 #8A91EC #BFC2F5 #E5E6FB

Accessibility & contrast

On white

2.86
#8A91EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#8A91EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A91EC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A91EC#FFFFFF#000000##000000
##8A91EC1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#719DF0
Deuteranopia (green-blind)
#6B95EA
Tritanopia (blue-blind)
#6BA3B3
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #8a91ec;
/* rgb */ color: rgb(138, 145, 236);
/* oklch */ color: oklch(68.9% 0.133 278.9);
Tailwind
colors: {
  custom: {
    50: '#b0b1f2',
    500: '#8a91ec',
    950: '#000000',
  },
}
SCSS
$custom: #8a91ec;
$custom-light: #b0b1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a91ec",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 235.714,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.68946,
    "c": 0.13321,
    "h": 278.9
  },
  "luminance": 0.3171
}

Semantic roles & 50–950 ramp

primary
#8A91EC
secondary
#F2F1D9
accent
#C611D4
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8A91EC

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

Preview Lab → · Contrast checker → · Palette generator →

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