#981EBC#981EBC

#981EBC is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 51.3% C 0.231 H 316.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#981EBC
RGBrgb(152, 30, 188)
HSLhsl(286, 72%, 43%)
HSVhsv(286, 84%, 74%)
CMYKcmyk(19.1%, 84%, 0%, 26.3%)
CIE-LABlab(39.97, 67.98, -56.29)
CIE-LCHlch(39.97, 88.26, 320.38°)
OKLaboklab(51.33% 0.1676 -0.1589)
OKLCHoklch(51.33% 0.231 316.5)
XYZxyz(22.4889, 11.2358, 48.5513)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981EBC #42BC1E
analogous
#491EBC #981EBC #BC1E91
triadic
#981EBC #BC981E #1EBC98
tetradic
#981EBC #BC491E #42BC1E #1E91BC
square
#981EBC #BC491E #42BC1E #1E91BC
split-complementary
#981EBC #91BC1E #1EBC49
monochromatic
#430D52 #6D1687 #981EBC #B938DF #CC6DE8

Accessibility & contrast

On white

6.47
#981EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#981EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #981EBC
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981EBC#FFFFFF#000000##FFFFFF
##981EBC1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#1C61B9
Tritanopia (blue-blind)
#964670
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #981ebc;
/* rgb */ color: rgb(152, 30, 188);
/* oklch */ color: oklch(51.3% 0.231 316.5);
Tailwind
colors: {
  custom: {
    50: '#bb6cd1',
    500: '#981ebc',
    950: '#000000',
  },
}
SCSS
$custom: #981ebc;
$custom-light: #bb6cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#981ebc",
  "rgb": {
    "r": 152,
    "g": 30,
    "b": 188
  },
  "hsl": {
    "h": 286.329,
    "s": 72.477,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51332,
    "c": 0.2309,
    "h": 316.5
  },
  "luminance": 0.11235
}

Semantic roles & 50–950 ramp

primary
#981EBC
secondary
#7FCE68
accent
#EF3962
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #981EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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