#981A8F#981A8F

#981A8F is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.199 H 331.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#981A8F
RGBrgb(152, 26, 143)
HSLhsl(304, 71%, 35%)
HSVhsv(304, 83%, 60%)
CMYKcmyk(0%, 82.9%, 5.9%, 40.4%)
CIE-LABlab(36.74, 61.26, -34.46)
CIE-LCHlch(36.74, 70.29, 330.64°)
OKLaboklab(48.13% 0.1753 -0.095)
OKLCHoklch(48.13% 0.199 331.5)
XYZxyz(18.2762, 9.3989, 26.8329)
Luminance0.0940 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981A8F #1A9823
analogous
#621A98 #981A8F #981A50
triadic
#981A8F #8F981A #1A8F98
tetradic
#981A8F #98621A #1A9823 #1A5098
square
#981A8F #98621A #1A9823 #1A5098
split-complementary
#981A8F #50981A #1A9862
monochromatic
#2F082D #64115E #981A8F #CC23C0 #E04CD6

Accessibility & contrast

On white

7.29
#981A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#981A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981A8F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981A8F#FFFFFF#000000##FFFFFF
##981A8F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084C92
Deuteranopia (green-blind)
#465C8C
Tritanopia (blue-blind)
#9F2C56
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #981a8f;
/* rgb */ color: rgb(152, 26, 143);
/* oklch */ color: oklch(48.1% 0.199 331.5);
Tailwind
colors: {
  custom: {
    50: '#ba69b0',
    500: '#981a8f',
    950: '#000000',
  },
}
SCSS
$custom: #981a8f;
$custom-light: #ba69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#981a8f",
  "rgb": {
    "r": 152,
    "g": 26,
    "b": 143
  },
  "hsl": {
    "h": 304.286,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.48129,
    "c": 0.19944,
    "h": 331.5
  },
  "luminance": 0.09397
}

Semantic roles & 50–950 ramp

primary
#981A8F
secondary
#4BC254
accent
#EE473A
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #981A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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