#8A91DD#8A91DD

#8A91DD is a light, moderate blue. Relative luminance 0.309; OKLCH L 68.2% C 0.112 H 279.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8A91DD
RGBrgb(138, 145, 221)
HSLhsl(235, 55%, 70%)
HSVhsv(235, 38%, 87%)
CMYKcmyk(37.6%, 34.4%, 0%, 13.3%)
CIE-LABlab(62.40, 15.79, -39.53)
CIE-LCHlch(62.40, 42.57, 291.78°)
OKLaboklab(68.18% 0.0174 -0.1107)
OKLCHoklch(68.18% 0.112 279)
XYZxyz(33.6540, 30.8732, 72.5785)
Luminance0.3088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A91DD #DDD68A
analogous
#8ABADD #8A91DD #AC8ADD
triadic
#8A91DD #DD8A91 #91DD8A
tetradic
#8A91DD #DD8ABA #DDD68A #8ADDAC
square
#8A91DD #DD8ABA #DDD68A #8ADDAC
split-complementary
#8A91DD #DDAC8A #BADD8A
monochromatic
#3540B7 #5B64CF #8A91DD #B9BEEB #E7E9F8

Accessibility & contrast

On white

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

On black

7.18
#8A91DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A91DD
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A91DD#FFFFFF#000000##000000
##8A91DD1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#789AE0
Deuteranopia (green-blind)
#7394DB
Tritanopia (blue-blind)
#72A0AD
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a91dd;
/* rgb */ color: rgb(138, 145, 221);
/* oklch */ color: oklch(68.2% 0.112 279.0);
Tailwind
colors: {
  custom: {
    50: '#afb1e8',
    500: '#8a91dd',
    950: '#000000',
  },
}
SCSS
$custom: #8a91dd;
$custom-light: #afb1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a91dd",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 221
  },
  "hsl": {
    "h": 234.94,
    "s": 54.967,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68178,
    "c": 0.11203,
    "h": 279
  },
  "luminance": 0.30875
}

Semantic roles & 50–950 ramp

primary
#8A91DD
secondary
#EDEBD6
accent
#B523C2
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A91DD

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

Preview Lab → · Contrast checker → · Palette generator →

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