#8D81EF#8D81EF

#8D81EF is a light, vivid blue. Relative luminance 0.276; OKLCH L 66.3% C 0.159 H 286.2°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8D81EF
RGBrgb(141, 129, 239)
HSLhsl(247, 77%, 72%)
HSVhsv(247, 46%, 94%)
CMYKcmyk(41%, 46%, 0%, 6.3%)
CIE-LABlab(59.52, 30.84, -54.06)
CIE-LCHlch(59.52, 62.24, 299.70°)
OKLaboklab(66.33% 0.0444 -0.153)
OKLCHoklch(66.33% 0.159 286.2)
XYZxyz(34.4103, 27.5940, 85.1577)
Luminance0.2759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D81EF #E3EF81
analogous
#81ACEF #8D81EF #C481EF
triadic
#8D81EF #EF8D81 #81EF8D
tetradic
#8D81EF #EF81AC #E3EF81 #81EFC4
square
#8D81EF #EF81AC #E3EF81 #81EFC4
split-complementary
#8D81EF #EFC481 #ACEF81
monochromatic
#301CDA #5C4BE8 #8D81EF #BEB7F6 #E6E4FC

Accessibility & contrast

On white

3.22
#8D81EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#8D81EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D81EF
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D81EF#FFFFFF#000000##000000
##8D81EF1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F3
Deuteranopia (green-blind)
#558CEC
Tritanopia (blue-blind)
#7097AD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8d81ef;
/* rgb */ color: rgb(141, 129, 239);
/* oklch */ color: oklch(66.3% 0.159 286.2);
Tailwind
colors: {
  custom: {
    50: '#b3a5f5',
    500: '#8d81ef',
    950: '#000000',
  },
}
SCSS
$custom: #8d81ef;
$custom-light: #b3a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d81ef",
  "rgb": {
    "r": 141,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 246.545,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66329,
    "c": 0.15928,
    "h": 286.2
  },
  "luminance": 0.27595
}

Semantic roles & 50–950 ramp

primary
#8D81EF
secondary
#F0F3D8
accent
#DA0CC3
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#110F17
muted
#807F85

Preview Lab

Preview with #8D81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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