#8A91DF#8A91DF

#8A91DF is a light, moderate blue. Relative luminance 0.310; OKLCH L 68.3% C 0.115 H 279.0°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#8A91DF
RGBrgb(138, 145, 223)
HSLhsl(235, 57%, 71%)
HSVhsv(235, 38%, 87%)
CMYKcmyk(38.1%, 35%, 0%, 12.5%)
CIE-LABlab(62.49, 16.34, -40.50)
CIE-LCHlch(62.49, 43.68, 291.97°)
OKLaboklab(68.28% 0.0179 -0.1135)
OKLCHoklch(68.28% 0.115 279)
XYZxyz(33.9221, 30.9804, 73.9902)
Luminance0.3098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A91DF #DFD88A
analogous
#8ABBDF #8A91DF #AD8ADF
triadic
#8A91DF #DF8A91 #91DF8A
tetradic
#8A91DF #DF8ABB #DFD88A #8ADFAD
square
#8A91DF #DF8ABB #DFD88A #8ADFAD
split-complementary
#8A91DF #DFAD8A #BBDF8A
monochromatic
#333EBB #5A64D2 #8A91DF #BABEEC #E7E8F8

Accessibility & contrast

On white

2.92
#8A91DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#8A91DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A91DF
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A91DF#FFFFFF#000000##000000
##8A91DF1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#779AE2
Deuteranopia (green-blind)
#7294DD
Tritanopia (blue-blind)
#71A0AE
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8a91df;
/* rgb */ color: rgb(138, 145, 223);
/* oklch */ color: oklch(68.3% 0.115 279.0);
Tailwind
colors: {
  custom: {
    50: '#afb1e9',
    500: '#8a91df',
    950: '#000000',
  },
}
SCSS
$custom: #8a91df;
$custom-light: #afb1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a91df",
  "rgb": {
    "r": 138,
    "g": 145,
    "b": 223
  },
  "hsl": {
    "h": 235.059,
    "s": 57.047,
    "l": 70.784
  },
  "oklch": {
    "l": 0.68277,
    "c": 0.11487,
    "h": 279
  },
  "luminance": 0.30982
}

Semantic roles & 50–950 ramp

primary
#8A91DF
secondary
#EEECD7
accent
#B721C5
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A91DF

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

Preview Lab → · Contrast checker → · Palette generator →

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