#8A81ED#8A81ED

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

Color values

HEX#8A81ED
RGBrgb(138, 129, 237)
HSLhsl(245, 75%, 72%)
HSVhsv(245, 46%, 93%)
CMYKcmyk(41.8%, 45.6%, 0%, 7.1%)
CIE-LABlab(59.17, 29.56, -53.52)
CIE-LCHlch(59.17, 61.14, 298.91°)
OKLaboklab(65.97% 0.0407 -0.1514)
OKLCHoklch(65.97% 0.157 285)
XYZxyz(33.6132, 27.2169, 83.5867)
Luminance0.2722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A81ED #E4ED81
analogous
#81AEED #8A81ED #C081ED
triadic
#8A81ED #ED8A81 #81ED8A
tetradic
#8A81ED #ED81AE #E4ED81 #81EDC0
square
#8A81ED #ED81AE #E4ED81 #81EDC0
split-complementary
#8A81ED #EDC081 #AEED81
monochromatic
#2E1ED5 #584BE5 #8A81ED #BCB7F5 #E6E4FB

Accessibility & contrast

On white

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

On black

6.44
#8A81ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A81ED
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A81ED#FFFFFF#000000##000000
##8A81ED1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5792F1
Deuteranopia (green-blind)
#548BEB
Tritanopia (blue-blind)
#6C97AC
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a81ed;
/* rgb */ color: rgb(138, 129, 237);
/* oklch */ color: oklch(66.0% 0.157 285.0);
Tailwind
colors: {
  custom: {
    50: '#b1a5f3',
    500: '#8a81ed',
    950: '#000000',
  },
}
SCSS
$custom: #8a81ed;
$custom-light: #b1a5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8a81ed",
  "rgb": {
    "r": 138,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 245,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.65974,
    "c": 0.15681,
    "h": 285
  },
  "luminance": 0.27218
}

Semantic roles & 50–950 ramp

primary
#8A81ED
secondary
#F0F3D7
accent
#D70EC6
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8A81ED

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

Preview Lab → · Contrast checker → · Palette generator →

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