#8A91E2#8A91E2

#8A91E2 is a light, moderate blue. Relative luminance 0.311; OKLCH L 68.4% C 0.119 H 279.0°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#8A91E2
RGBrgb(138, 145, 226)
HSLhsl(235, 60%, 71%)
HSVhsv(235, 39%, 89%)
CMYKcmyk(38.9%, 35.8%, 0%, 11.4%)
CIE-LABlab(62.63, 17.16, -41.95)
CIE-LCHlch(62.63, 45.33, 292.25°)
OKLaboklab(68.43% 0.0186 -0.1177)
OKLCHoklch(68.43% 0.119 279)
XYZxyz(34.3301, 31.1437, 76.1392)
Luminance0.3115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A91E2 #E2DB8A
analogous
#8ABDE2 #8A91E2 #AF8AE2
triadic
#8A91E2 #E28A91 #91E28A
tetradic
#8A91E2 #E28ABD #E2DB8A #8AE2AF
square
#8A91E2 #E28ABD #E2DB8A #8AE2AF
split-complementary
#8A91E2 #E2AF8A #BDE28A
monochromatic
#303CC2 #5963D6 #8A91E2 #BBBFEE #E6E8F9

Accessibility & contrast

On white

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

On black

7.23
#8A91E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A91E2
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A91E2#FFFFFF#000000##000000
##8A91E21.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#769BE5
Deuteranopia (green-blind)
#7194E0
Tritanopia (blue-blind)
#70A1AF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a91e2;
/* rgb */ color: rgb(138, 145, 226);
/* oklch */ color: oklch(68.4% 0.119 279.0);
Tailwind
colors: {
  custom: {
    50: '#afb1eb',
    500: '#8a91e2',
    950: '#000000',
  },
}
SCSS
$custom: #8a91e2;
$custom-light: #afb1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a91e2",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 226
  },
  "hsl": {
    "h": 235.227,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.68428,
    "c": 0.11913,
    "h": 279
  },
  "luminance": 0.31145
}

Semantic roles & 50–950 ramp

primary
#8A91E2
secondary
#EFEED8
accent
#BA1EC8
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A91E2

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

Preview Lab → · Contrast checker → · Palette generator →

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