#8A81CC#8A81CC

#8A81CC is a light, moderate blue. Relative luminance 0.255; OKLCH L 64.2% C 0.111 H 288.4°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8A81CC
RGBrgb(138, 129, 204)
HSLhsl(247, 42%, 65%)
HSVhsv(247, 37%, 80%)
CMYKcmyk(32.4%, 36.8%, 0%, 20%)
CIE-LABlab(57.52, 20.57, -37.65)
CIE-LCHlch(57.52, 42.90, 298.66°)
OKLaboklab(64.18% 0.0349 -0.1052)
OKLCHoklch(64.18% 0.111 288.4)
XYZxyz(29.2277, 25.4627, 60.4899)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A81CC #C3CC81
analogous
#819DCC #8A81CC #AF81CC
triadic
#8A81CC #CC8A81 #81CC8A
tetradic
#8A81CC #CC819D #C3CC81 #81CCAF
square
#8A81CC #CC819D #C3CC81 #81CCAF
split-complementary
#8A81CC #CCAF81 #9DCC81
monochromatic
#473D96 #6255BA #8A81CC #B2ADDE #DBD8EF

Accessibility & contrast

On white

3.45
#8A81CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#8A81CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A81CC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A81CC#FFFFFF#000000##000000
##8A81CC1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8CCF
Deuteranopia (green-blind)
#6A88CA
Tritanopia (blue-blind)
#7A8F9D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a81cc;
/* rgb */ color: rgb(138, 129, 204);
/* oklch */ color: oklch(64.2% 0.111 288.4);
Tailwind
colors: {
  custom: {
    50: '#aea5dc',
    500: '#8a81cc',
    950: '#000000',
  },
}
SCSS
$custom: #8a81cc;
$custom-light: #aea5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a81cc",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 204
  },
  "hsl": {
    "h": 247.2,
    "s": 42.373,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64181,
    "c": 0.11085,
    "h": 288.4
  },
  "luminance": 0.25463
}

Semantic roles & 50–950 ramp

primary
#8A81CC
secondary
#DEE1C8
accent
#B530A5
background
#FAFAFD
surface
#F5F4FB
border
#CFCED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #8A81CC

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

Preview Lab → · Contrast checker → · Palette generator →

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