#8A81BD#8A81BD

#8A81BD is a light, moderate blue. Relative luminance 0.248; OKLCH L 63.5% C 0.089 H 290.5°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8A81BD
RGBrgb(138, 129, 189)
HSLhsl(249, 31%, 62%)
HSVhsv(249, 32%, 74%)
CMYKcmyk(27%, 31.7%, 0%, 25.9%)
CIE-LABlab(56.86, 16.72, -30.18)
CIE-LCHlch(56.86, 34.50, 298.98°)
OKLaboklab(63.45% 0.0313 -0.0837)
OKLCHoklch(63.45% 0.089 290.5)
XYZxyz(27.5145, 24.7774, 51.4672)
Luminance0.2478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A81BD #B4BD81
analogous
#8196BD #8A81BD #A881BD
triadic
#8A81BD #BD8A81 #81BD8A
tetradic
#8A81BD #BD8196 #B4BD81 #81BDA8
square
#8A81BD #BD8196 #B4BD81 #81BDA8
split-complementary
#8A81BD #BDA881 #96BD81
monochromatic
#4C4380 #6559A8 #8A81BD #AFA9D2 #D5D1E7

Accessibility & contrast

On white

3.53
#8A81BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#8A81BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A81BD
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A81BD#FFFFFF#000000##000000
##8A81BD1.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#718ABF
Deuteranopia (green-blind)
#7187BB
Tritanopia (blue-blind)
#7F8B97
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a81bd;
/* rgb */ color: rgb(138, 129, 189);
/* oklch */ color: oklch(63.5% 0.089 290.5);
Tailwind
colors: {
  custom: {
    50: '#ada5d1',
    500: '#8a81bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a81bd;
$custom-light: #ada5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a81bd",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 189
  },
  "hsl": {
    "h": 249,
    "s": 31.25,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63452,
    "c": 0.08933,
    "h": 290.5
  },
  "luminance": 0.24778
}

Semantic roles & 50–950 ramp

primary
#8A81BD
secondary
#D5D8C2
accent
#AA3C99
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#100F14
muted
#7F7F82

Preview Lab

Preview with #8A81BD

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

Preview Lab → · Contrast checker → · Palette generator →

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