#8D81E9#8D81E9

#8D81E9 is a light, vivid blue. Relative luminance 0.272; OKLCH L 66.0% C 0.151 H 286.8°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#8D81E9
RGBrgb(141, 129, 233)
HSLhsl(247, 70%, 71%)
HSVhsv(247, 45%, 91%)
CMYKcmyk(39.5%, 44.6%, 0%, 8.6%)
CIE-LABlab(59.20, 29.18, -51.24)
CIE-LCHlch(59.20, 58.97, 299.66°)
OKLaboklab(65.98% 0.0436 -0.1447)
OKLCHoklch(65.98% 0.151 286.8)
XYZxyz(33.5386, 27.2453, 80.5667)
Luminance0.2725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D81E9 #DDE981
analogous
#81A9E9 #8D81E9 #C181E9
triadic
#8D81E9 #E98D81 #81E98D
tetradic
#8D81E9 #E981A9 #DDE981 #81E9C1
square
#8D81E9 #E981A9 #DDE981 #81E9C1
split-complementary
#8D81E9 #E9C181 #A9E981
monochromatic
#3724CC #5E4DE0 #8D81E9 #BCB5F2 #E7E5FA

Accessibility & contrast

On white

3.26
#8D81E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#8D81E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D81E9
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D81E9#FFFFFF#000000##000000
##8D81E91.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B91ED
Deuteranopia (green-blind)
#598CE7
Tritanopia (blue-blind)
#7396AA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8d81e9;
/* rgb */ color: rgb(141, 129, 233);
/* oklch */ color: oklch(66.0% 0.151 286.8);
Tailwind
colors: {
  custom: {
    50: '#b2a5f0',
    500: '#8d81e9',
    950: '#000000',
  },
}
SCSS
$custom: #8d81e9;
$custom-light: #b2a5f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d81e9",
  "rgb": {
    "r": 141,
    "g": 129,
    "b": 233
  },
  "hsl": {
    "h": 246.923,
    "s": 70.27,
    "l": 70.98
  },
  "oklch": {
    "l": 0.65984,
    "c": 0.15114,
    "h": 286.8
  },
  "luminance": 0.27246
}

Semantic roles & 50–950 ramp

primary
#8D81E9
secondary
#EEF1D5
accent
#D213BC
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8D81E9

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

Preview Lab → · Contrast checker → · Palette generator →

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