#8A81EF#8A81EF

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

Color values

HEX#8A81EF
RGBrgb(138, 129, 239)
HSLhsl(245, 77%, 72%)
HSVhsv(245, 46%, 94%)
CMYKcmyk(42.3%, 46%, 0%, 6.3%)
CIE-LABlab(59.28, 30.12, -54.45)
CIE-LCHlch(59.28, 62.23, 298.95°)
OKLaboklab(66.09% 0.0409 -0.1542)
OKLCHoklch(66.09% 0.16 284.9)
XYZxyz(33.9070, 27.3344, 85.1341)
Luminance0.2734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A81EF #E6EF81
analogous
#81AFEF #8A81EF #C181EF
triadic
#8A81EF #EF8A81 #81EF8A
tetradic
#8A81EF #EF81AF #E6EF81 #81EFC1
square
#8A81EF #EF81AF #E6EF81 #81EFC1
split-complementary
#8A81EF #EFC181 #AFEF81
monochromatic
#2B1CDA #584BE8 #8A81EF #BCB7F6 #E6E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A81EF#FFFFFF#000000##000000
##8A81EF1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5692F3
Deuteranopia (green-blind)
#538BEC
Tritanopia (blue-blind)
#6B98AD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a81ef;
/* rgb */ color: rgb(138, 129, 239);
/* oklch */ color: oklch(66.1% 0.160 284.9);
Tailwind
colors: {
  custom: {
    50: '#b1a5f5',
    500: '#8a81ef',
    950: '#000000',
  },
}
SCSS
$custom: #8a81ef;
$custom-light: #b1a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a81ef",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 244.909,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66091,
    "c": 0.15953,
    "h": 284.9
  },
  "luminance": 0.27336
}

Semantic roles & 50–950 ramp

primary
#8A81EF
secondary
#F1F3D8
accent
#DA0CC9
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#110F17
muted
#807F85

Preview Lab

Preview with #8A81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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