#8A81DC#8A81DC

#8A81DC is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.0% C 0.133 H 286.6°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8A81DC
RGBrgb(138, 129, 220)
HSLhsl(246, 57%, 68%)
HSVhsv(246, 41%, 86%)
CMYKcmyk(37.3%, 41.4%, 0%, 13.7%)
CIE-LABlab(58.29, 24.86, -45.44)
CIE-LCHlch(58.29, 51.79, 298.68°)
OKLaboklab(65.02% 0.0381 -0.1278)
OKLCHoklch(65.02% 0.133 286.6)
XYZxyz(31.2462, 26.2701, 71.1206)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A81DC #D3DC81
analogous
#81A5DC #8A81DC #B781DC
triadic
#8A81DC #DC8A81 #81DC8A
tetradic
#8A81DC #DC81A5 #D3DC81 #81DCB7
square
#8A81DC #DC81A5 #D3DC81 #81DCB7
split-complementary
#8A81DC #DCB781 #A5DC81
monochromatic
#3E31B1 #5E51CF #8A81DC #B6B1E9 #E3E1F7

Accessibility & contrast

On white

3.36
#8A81DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#8A81DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A81DC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A81DC#FFFFFF#000000##000000
##8A81DC1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#628FDF
Deuteranopia (green-blind)
#618ADA
Tritanopia (blue-blind)
#7493A4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a81dc;
/* rgb */ color: rgb(138, 129, 220);
/* oklch */ color: oklch(65.0% 0.133 286.6);
Tailwind
colors: {
  custom: {
    50: '#afa5e7',
    500: '#8a81dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a81dc;
$custom-light: #afa5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a81dc",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 245.934,
    "s": 56.522,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65019,
    "c": 0.13339,
    "h": 286.6
  },
  "luminance": 0.26271
}

Semantic roles & 50–950 ramp

primary
#8A81DC
secondary
#E7EACF
accent
#C421B4
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8A81DC

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

Preview Lab → · Contrast checker → · Palette generator →

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