#981CB4#981CB4

#981CB4 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.6% C 0.226 H 318.9°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#981CB4
RGBrgb(152, 28, 180)
HSLhsl(289, 73%, 41%)
HSVhsv(289, 84%, 71%)
CMYKcmyk(15.6%, 84.4%, 0%, 29.4%)
CIE-LABlab(39.25, 67.00, -52.75)
CIE-LCHlch(39.25, 85.27, 321.79°)
OKLaboklab(50.64% 0.1704 -0.1485)
OKLCHoklch(50.64% 0.226 318.9)
XYZxyz(21.6013, 10.8023, 44.1184)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981CB4 #38B41C
analogous
#4C1CB4 #981CB4 #B41C84
triadic
#981CB4 #B4981C #1CB498
tetradic
#981CB4 #B44C1C #38B41C #1C84B4
square
#981CB4 #B44C1C #38B41C #1C84B4
split-complementary
#981CB4 #84B41C #1CB44C
monochromatic
#3F0C4A #6B147F #981CB4 #BE2FDF #CF64E7

Accessibility & contrast

On white

6.65
#981CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#981CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #981CB4
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981CB4#FFFFFF#000000##FFFFFF
##981CB41.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#2860B1
Tritanopia (blue-blind)
#98416B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #981cb4;
/* rgb */ color: rgb(152, 28, 180);
/* oklch */ color: oklch(50.6% 0.226 318.9);
Tailwind
colors: {
  custom: {
    50: '#bb6bcb',
    500: '#981cb4',
    950: '#000000',
  },
}
SCSS
$custom: #981cb4;
$custom-light: #bb6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#981cb4",
  "rgb": {
    "r": 152,
    "g": 28,
    "b": 180
  },
  "hsl": {
    "h": 288.947,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.50644,
    "c": 0.22597,
    "h": 318.9
  },
  "luminance": 0.10801
}

Semantic roles & 50–950 ramp

primary
#981CB4
secondary
#74CC60
accent
#F0385A
background
#FCF6FC
surface
#F8ECF9
border
#D1C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #981CB4

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

Preview Lab → · Contrast checker → · Palette generator →

#981CB4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva