#8B81CA#8B81CA

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

Color values

HEX#8B81CA
RGBrgb(139, 129, 202)
HSLhsl(248, 41%, 65%)
HSVhsv(248, 36%, 79%)
CMYKcmyk(31.2%, 36.1%, 0%, 20.8%)
CIE-LABlab(57.51, 20.34, -36.53)
CIE-LCHlch(57.51, 41.81, 299.11°)
OKLaboklab(64.16% 0.0356 -0.1019)
OKLCHoklch(64.16% 0.108 289.3)
XYZxyz(29.1556, 25.4531, 59.2425)
Luminance0.2545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B81CA #C0CA81
analogous
#819CCA #8B81CA #AF81CA
triadic
#8B81CA #CA8B81 #81CA8B
tetradic
#8B81CA #CA819C #C0CA81 #81CAAF
square
#8B81CA #CA819C #C0CA81 #81CAAF
split-complementary
#8B81CA #CAAF81 #9CCA81
monochromatic
#493E93 #6356B8 #8B81CA #B3ACDC #DAD7EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B81CA#FFFFFF#000000##000000
##8B81CA1.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)
#6C8CCD
Deuteranopia (green-blind)
#6C88C8
Tritanopia (blue-blind)
#7C8E9C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8b81ca;
/* rgb */ color: rgb(139, 129, 202);
/* oklch */ color: oklch(64.2% 0.108 289.3);
Tailwind
colors: {
  custom: {
    50: '#afa5da',
    500: '#8b81ca',
    950: '#000000',
  },
}
SCSS
$custom: #8b81ca;
$custom-light: #afa5da;
$custom-dark: #000000;
JSON
{
  "hex": "#8b81ca",
  "rgb": {
    "r": 139,
    "g": 129,
    "b": 202
  },
  "hsl": {
    "h": 248.219,
    "s": 40.782,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64164,
    "c": 0.10799,
    "h": 289.3
  },
  "luminance": 0.25454
}

Semantic roles & 50–950 ramp

primary
#8B81CA
secondary
#DCE0C7
accent
#B432A2
background
#FAFAFD
surface
#F5F4FB
border
#CFCED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #8B81CA

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

Preview Lab → · Contrast checker → · Palette generator →

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