#8A91DC#8A91DC

#8A91DC is a light, moderate blue. Relative luminance 0.308; OKLCH L 68.1% C 0.111 H 278.9°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8A91DC
RGBrgb(138, 145, 220)
HSLhsl(235, 54%, 70%)
HSVhsv(235, 37%, 86%)
CMYKcmyk(37.3%, 34.1%, 0%, 13.7%)
CIE-LABlab(62.36, 15.52, -39.05)
CIE-LCHlch(62.36, 42.02, 291.68°)
OKLaboklab(68.13% 0.0172 -0.1093)
OKLCHoklch(68.13% 0.111 278.9)
XYZxyz(33.5212, 30.8201, 71.8789)
Luminance0.3082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A91DC #DCD58A
analogous
#8ABADC #8A91DC #AC8ADC
triadic
#8A91DC #DC8A91 #91DC8A
tetradic
#8A91DC #DC8ABA #DCD58A #8ADCAC
square
#8A91DC #DC8ABA #DCD58A #8ADCAC
split-complementary
#8A91DC #DCAC8A #BADC8A
monochromatic
#3641B5 #5B65CE #8A91DC #B9BDEA #E7E9F8

Accessibility & contrast

On white

2.93
#8A91DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#8A91DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A91DC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A91DC#FFFFFF#000000##000000
##8A91DC1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#799ADF
Deuteranopia (green-blind)
#7494DA
Tritanopia (blue-blind)
#72A0AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a91dc;
/* rgb */ color: rgb(138, 145, 220);
/* oklch */ color: oklch(68.1% 0.111 278.9);
Tailwind
colors: {
  custom: {
    50: '#afb1e7',
    500: '#8a91dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a91dc;
$custom-light: #afb1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a91dc",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 220
  },
  "hsl": {
    "h": 234.878,
    "s": 53.947,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68128,
    "c": 0.11061,
    "h": 278.9
  },
  "luminance": 0.30821
}

Semantic roles & 50–950 ramp

primary
#8A91DC
secondary
#ECEAD6
accent
#B424C1
background
#FAFAFE
surface
#F5F4FC
border
#CFCED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A91DC

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

Preview Lab → · Contrast checker → · Palette generator →

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