#8A81BB#8A81BB

#8A81BB is a light, moderate blue. Relative luminance 0.247; OKLCH L 63.4% C 0.086 H 290.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8A81BB
RGBrgb(138, 129, 187)
HSLhsl(249, 30%, 62%)
HSVhsv(249, 31%, 73%)
CMYKcmyk(26.2%, 31%, 0%, 26.7%)
CIE-LABlab(56.77, 16.21, -29.17)
CIE-LCHlch(56.77, 33.37, 299.07°)
OKLaboklab(63.36% 0.0307 -0.0808)
OKLCHoklch(63.36% 0.086 290.8)
XYZxyz(27.2989, 24.6912, 50.3317)
Luminance0.2469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A81BB #B2BB81
analogous
#8195BB #8A81BB #A781BB
triadic
#8A81BB #BB8A81 #81BB8A
tetradic
#8A81BB #BB8195 #B2BB81 #81BBA7
square
#8A81BB #BB8195 #B2BB81 #81BBA7
split-complementary
#8A81BB #BBA781 #95BB81
monochromatic
#4D447E #6559A5 #8A81BB #AFA9D0 #D4D0E6

Accessibility & contrast

On white

3.54
#8A81BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#8A81BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A81BB
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A81BB#FFFFFF#000000##000000
##8A81BB1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7289BD
Deuteranopia (green-blind)
#7287B9
Tritanopia (blue-blind)
#7F8B96
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a81bb;
/* rgb */ color: rgb(138, 129, 187);
/* oklch */ color: oklch(63.4% 0.086 290.8);
Tailwind
colors: {
  custom: {
    50: '#ada5cf',
    500: '#8a81bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a81bb;
$custom-light: #ada5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a81bb",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 187
  },
  "hsl": {
    "h": 249.31,
    "s": 29.897,
    "l": 61.961
  },
  "oklch": {
    "l": 0.63359,
    "c": 0.08644,
    "h": 290.8
  },
  "luminance": 0.24692
}

Semantic roles & 50–950 ramp

primary
#8A81BB
secondary
#D3D7C1
accent
#A93D98
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#100F14
muted
#7F7F82

Preview Lab

Preview with #8A81BB

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

Preview Lab → · Contrast checker → · Palette generator →

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