#981FBC#981FBC

#981FBC is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.4% C 0.230 H 316.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#981FBC
RGBrgb(152, 31, 188)
HSLhsl(286, 72%, 43%)
HSVhsv(286, 84%, 74%)
CMYKcmyk(19.1%, 83.5%, 0%, 26.3%)
CIE-LABlab(40.06, 67.73, -56.15)
CIE-LCHlch(40.06, 87.98, 320.34°)
OKLaboklab(51.39% 0.1669 -0.1585)
OKLCHoklch(51.39% 0.23 316.5)
XYZxyz(22.5146, 11.2872, 48.5599)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981FBC #43BC1F
analogous
#491FBC #981FBC #BC1F91
triadic
#981FBC #BC981F #1FBC98
tetradic
#981FBC #BC491F #43BC1F #1F91BC
square
#981FBC #BC491F #43BC1F #1F91BC
split-complementary
#981FBC #91BC1F #1FBC49
monochromatic
#430E53 #6E1687 #981FBC #B93ADE #CB6EE7

Accessibility & contrast

On white

6.45
#981FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#981FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #981FBC
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981FBC#FFFFFF#000000##FFFFFF
##981FBC1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#1D62B9
Tritanopia (blue-blind)
#964771
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #981fbc;
/* rgb */ color: rgb(152, 31, 188);
/* oklch */ color: oklch(51.4% 0.230 316.5);
Tailwind
colors: {
  custom: {
    50: '#bb6cd1',
    500: '#981fbc',
    950: '#000000',
  },
}
SCSS
$custom: #981fbc;
$custom-light: #bb6cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#981fbc",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 188
  },
  "hsl": {
    "h": 286.242,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51391,
    "c": 0.23017,
    "h": 316.5
  },
  "luminance": 0.11286
}

Semantic roles & 50–950 ramp

primary
#981FBC
secondary
#80CD69
accent
#EE3963
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #981FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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