#8A81D9#8A81D9

#8A81D9 is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.9% C 0.129 H 286.9°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8A81D9
RGBrgb(138, 129, 217)
HSLhsl(246, 54%, 68%)
HSVhsv(246, 41%, 85%)
CMYKcmyk(36.4%, 40.6%, 0%, 14.9%)
CIE-LABlab(58.14, 24.04, -43.99)
CIE-LCHlch(58.14, 50.13, 298.66°)
OKLaboklab(64.86% 0.0376 -0.1236)
OKLCHoklch(64.86% 0.129 286.9)
XYZxyz(30.8524, 26.1126, 69.0469)
Luminance0.2611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A81D9 #D0D981
analogous
#81A4D9 #8A81D9 #B681D9
triadic
#8A81D9 #D98A81 #81D98A
tetradic
#8A81D9 #D981A4 #D0D981 #81D9B6
square
#8A81D9 #D981A4 #D0D981 #81D9B6
split-complementary
#8A81D9 #D9B681 #A4D981
monochromatic
#4034AC #5E52CB #8A81D9 #B6B0E7 #E1DFF5

Accessibility & contrast

On white

3.37
#8A81D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#8A81D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A81D9
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A81D9#FFFFFF#000000##000000
##8A81D91.003.376.226.22
#FFFFFF3.371.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#648EDC
Deuteranopia (green-blind)
#6389D7
Tritanopia (blue-blind)
#7592A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a81d9;
/* rgb */ color: rgb(138, 129, 217);
/* oklch */ color: oklch(64.9% 0.129 286.9);
Tailwind
colors: {
  custom: {
    50: '#afa5e5',
    500: '#8a81d9',
    950: '#000000',
  },
}
SCSS
$custom: #8a81d9;
$custom-light: #afa5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a81d9",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 217
  },
  "hsl": {
    "h": 246.136,
    "s": 53.659,
    "l": 67.843
  },
  "oklch": {
    "l": 0.64857,
    "c": 0.12921,
    "h": 286.9
  },
  "luminance": 0.26114
}

Semantic roles & 50–950 ramp

primary
#8A81D9
secondary
#E6E8CD
accent
#C124B1
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8A81D9

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

Preview Lab → · Contrast checker → · Palette generator →

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