#8A81C8#8A81C8

#8A81C8 is a light, moderate blue. Relative luminance 0.253; OKLCH L 64.0% C 0.105 H 288.9°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8A81C8
RGBrgb(138, 129, 200)
HSLhsl(248, 39%, 65%)
HSVhsv(248, 36%, 78%)
CMYKcmyk(31%, 35.5%, 0%, 21.6%)
CIE-LABlab(57.34, 19.53, -35.67)
CIE-LCHlch(57.34, 40.67, 298.70°)
OKLaboklab(63.98% 0.034 -0.0995)
OKLCHoklch(63.98% 0.105 288.9)
XYZxyz(28.7541, 25.2733, 57.9957)
Luminance0.2527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A81C8 #BFC881
analogous
#819CC8 #8A81C8 #AE81C8
triadic
#8A81C8 #C88A81 #81C88A
tetradic
#8A81C8 #C8819C #BFC881 #81C8AE
square
#8A81C8 #C8819C #BFC881 #81C8AE
split-complementary
#8A81C8 #C8AE81 #9CC881
monochromatic
#493F90 #6256B5 #8A81C8 #B2ACDB #D9D6ED

Accessibility & contrast

On white

3.47
#8A81C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#8A81C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A81C8
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A81C8#FFFFFF#000000##000000
##8A81C81.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8BCB
Deuteranopia (green-blind)
#6C88C6
Tritanopia (blue-blind)
#7B8E9B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a81c8;
/* rgb */ color: rgb(138, 129, 200);
/* oklch */ color: oklch(64.0% 0.105 288.9);
Tailwind
colors: {
  custom: {
    50: '#aea5d9',
    500: '#8a81c8',
    950: '#000000',
  },
}
SCSS
$custom: #8a81c8;
$custom-light: #aea5d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a81c8",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 200
  },
  "hsl": {
    "h": 247.606,
    "s": 39.227,
    "l": 64.51
  },
  "oklch": {
    "l": 0.63981,
    "c": 0.10514,
    "h": 288.9
  },
  "luminance": 0.25274
}

Semantic roles & 50–950 ramp

primary
#8A81C8
secondary
#DCDFC6
accent
#B233A2
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#100F14
muted
#7F7F83

Preview Lab

Preview with #8A81C8

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

Preview Lab → · Contrast checker → · Palette generator →

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