#8D81EA#8D81EA

#8D81EA is a light, vivid blue. Relative luminance 0.273; OKLCH L 66.0% C 0.152 H 286.7°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8D81EA
RGBrgb(141, 129, 234)
HSLhsl(247, 71%, 71%)
HSVhsv(247, 45%, 92%)
CMYKcmyk(39.7%, 44.9%, 0%, 8.2%)
CIE-LABlab(59.25, 29.46, -51.71)
CIE-LCHlch(59.25, 59.51, 299.67°)
OKLaboklab(66.04% 0.0438 -0.1461)
OKLCHoklch(66.04% 0.153 286.7)
XYZxyz(33.6819, 27.3026, 81.3212)
Luminance0.2730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D81EA #DEEA81
analogous
#81A9EA #8D81EA #C181EA
triadic
#8D81EA #EA8D81 #81EA8D
tetradic
#8D81EA #EA81A9 #DEEA81 #81EAC1
square
#8D81EA #EA81A9 #DEEA81 #81EAC1
split-complementary
#8D81EA #EAC181 #A9EA81
monochromatic
#3622CE #5E4DE1 #8D81EA #BCB5F3 #E7E5FB

Accessibility & contrast

On white

3.25
#8D81EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#8D81EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D81EA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D81EA#FFFFFF#000000##000000
##8D81EA1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A91EE
Deuteranopia (green-blind)
#598CE8
Tritanopia (blue-blind)
#7396AA
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8d81ea;
/* rgb */ color: rgb(141, 129, 234);
/* oklch */ color: oklch(66.0% 0.152 286.7);
Tailwind
colors: {
  custom: {
    50: '#b2a5f1',
    500: '#8d81ea',
    950: '#000000',
  },
}
SCSS
$custom: #8d81ea;
$custom-light: #b2a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d81ea",
  "rgb": {
    "r": 141,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 246.857,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66041,
    "c": 0.1525,
    "h": 286.7
  },
  "luminance": 0.27304
}

Semantic roles & 50–950 ramp

primary
#8D81EA
secondary
#EEF1D6
accent
#D312BD
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8D81EA

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

Preview Lab → · Contrast checker → · Palette generator →

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