#8D81EB#8D81EB

#8D81EB is a light, vivid blue. Relative luminance 0.274; OKLCH L 66.1% C 0.154 H 286.6°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8D81EB
RGBrgb(141, 129, 235)
HSLhsl(247, 73%, 71%)
HSVhsv(247, 45%, 92%)
CMYKcmyk(40%, 45.1%, 0%, 7.8%)
CIE-LABlab(59.31, 29.73, -52.18)
CIE-LCHlch(59.31, 60.06, 299.67°)
OKLaboklab(66.1% 0.0439 -0.1475)
OKLCHoklch(66.1% 0.154 286.6)
XYZxyz(33.8259, 27.3602, 82.0799)
Luminance0.2736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D81EB #DFEB81
analogous
#81AAEB #8D81EB #C281EB
triadic
#8D81EB #EB8D81 #81EB8D
tetradic
#8D81EB #EB81AA #DFEB81 #81EBC2
square
#8D81EB #EB81AA #DFEB81 #81EBC2
split-complementary
#8D81EB #EBC281 #AAEB81
monochromatic
#3521D1 #5D4CE3 #8D81EB #BDB6F3 #E7E5FB

Accessibility & contrast

On white

3.24
#8D81EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#8D81EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D81EB
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D81EB#FFFFFF#000000##000000
##8D81EB1.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92EF
Deuteranopia (green-blind)
#588CE9
Tritanopia (blue-blind)
#7296AB
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8d81eb;
/* rgb */ color: rgb(141, 129, 235);
/* oklch */ color: oklch(66.1% 0.154 286.6);
Tailwind
colors: {
  custom: {
    50: '#b2a5f2',
    500: '#8d81eb',
    950: '#000000',
  },
}
SCSS
$custom: #8d81eb;
$custom-light: #b2a5f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d81eb",
  "rgb": {
    "r": 141,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 246.792,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66098,
    "c": 0.15386,
    "h": 286.6
  },
  "luminance": 0.27361
}

Semantic roles & 50–950 ramp

primary
#8D81EB
secondary
#EFF2D6
accent
#D511BF
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8D81EB

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

Preview Lab → · Contrast checker → · Palette generator →

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