#8981EA#8981EA

#8981EA is a light, vivid blue. Relative luminance 0.270; OKLCH L 65.7% C 0.153 H 284.8°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#8981EA
RGBrgb(137, 129, 234)
HSLhsl(245, 71%, 71%)
HSVhsv(245, 45%, 92%)
CMYKcmyk(41.5%, 44.9%, 0%, 8.2%)
CIE-LABlab(58.94, 28.47, -52.24)
CIE-LCHlch(58.94, 59.49, 298.59°)
OKLaboklab(65.72% 0.0391 -0.1477)
OKLCHoklch(65.72% 0.153 284.8)
XYZxyz(33.0138, 26.9581, 81.2899)
Luminance0.2696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8981EA #E2EA81
analogous
#81ADEA #8981EA #BD81EA
triadic
#8981EA #EA8981 #81EA89
tetradic
#8981EA #EA81AD #E2EA81 #81EABD
square
#8981EA #EA81AD #E2EA81 #81EABD
split-complementary
#8981EA #EABD81 #ADEA81
monochromatic
#2F22CE #584DE1 #8981EA #BAB5F3 #E6E5FB

Accessibility & contrast

On white

3.29
#8981EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#8981EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8981EA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8981EA#FFFFFF#000000##000000
##8981EA1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5991EE
Deuteranopia (green-blind)
#568BE8
Tritanopia (blue-blind)
#6C96AA
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8981ea;
/* rgb */ color: rgb(137, 129, 234);
/* oklch */ color: oklch(65.7% 0.153 284.8);
Tailwind
colors: {
  custom: {
    50: '#b0a5f1',
    500: '#8981ea',
    950: '#000000',
  },
}
SCSS
$custom: #8981ea;
$custom-light: #b0a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8981ea",
  "rgb": {
    "r": 137,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 244.571,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.65722,
    "c": 0.15281,
    "h": 284.8
  },
  "luminance": 0.26959
}

Semantic roles & 50–950 ramp

primary
#8981EA
secondary
#EFF1D6
accent
#D312C5
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8981EA

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

Preview Lab → · Contrast checker → · Palette generator →

#8981EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva