#8981DC#8981DC

#8981DC is a light, vivid blue. Relative luminance 0.262; OKLCH L 64.9% C 0.133 H 286.1°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8981DC
RGBrgb(137, 129, 220)
HSLhsl(245, 57%, 68%)
HSVhsv(245, 41%, 86%)
CMYKcmyk(37.7%, 41.4%, 0%, 13.7%)
CIE-LABlab(58.21, 24.59, -45.57)
CIE-LCHlch(58.21, 51.78, 298.35°)
OKLaboklab(64.94% 0.0369 -0.1282)
OKLCHoklch(64.94% 0.133 286.1)
XYZxyz(31.0815, 26.1852, 71.1129)
Luminance0.2619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8981DC #D4DC81
analogous
#81A6DC #8981DC #B681DC
triadic
#8981DC #DC8981 #81DC89
tetradic
#8981DC #DC81A6 #D4DC81 #81DCB6
square
#8981DC #DC81A6 #D4DC81 #81DCB6
split-complementary
#8981DC #DCB681 #A6DC81
monochromatic
#3D31B1 #5C51CF #8981DC #B6B1E9 #E3E1F7

Accessibility & contrast

On white

3.37
#8981DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#8981DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8981DC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8981DC#FFFFFF#000000##000000
##8981DC1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EDF
Deuteranopia (green-blind)
#6089DA
Tritanopia (blue-blind)
#7293A4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8981dc;
/* rgb */ color: rgb(137, 129, 220);
/* oklch */ color: oklch(64.9% 0.133 286.1);
Tailwind
colors: {
  custom: {
    50: '#afa5e7',
    500: '#8981dc',
    950: '#000000',
  },
}
SCSS
$custom: #8981dc;
$custom-light: #afa5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8981dc",
  "rgb": {
    "r": 137,
    "g": 129,
    "b": 220
  },
  "hsl": {
    "h": 245.275,
    "s": 56.522,
    "l": 68.431
  },
  "oklch": {
    "l": 0.64938,
    "c": 0.13346,
    "h": 286.1
  },
  "luminance": 0.26186
}

Semantic roles & 50–950 ramp

primary
#8981DC
secondary
#E8EACF
accent
#C421B6
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8981DC

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

Preview Lab → · Contrast checker → · Palette generator →

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