#981F86#981F86

#981F86 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.189 H 335.2°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#981F86
RGBrgb(152, 31, 134)
HSLhsl(309, 66%, 36%)
HSVhsv(309, 80%, 60%)
CMYKcmyk(0%, 79.6%, 11.8%, 40.4%)
CIE-LABlab(36.70, 58.59, -28.97)
CIE-LCHlch(36.70, 65.36, 333.69°)
OKLaboklab(47.94% 0.1713 -0.0793)
OKLCHoklch(47.94% 0.189 335.2)
XYZxyz(17.7422, 9.3782, 23.4254)
Luminance0.0938 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981F86 #1F9831
analogous
#6D1F98 #981F86 #981F49
triadic
#981F86 #86981F #1F8698
tetradic
#981F86 #986D1F #1F9831 #1F4998
square
#981F86 #986D1F #1F9831 #1F4998
split-complementary
#981F86 #49981F #1F986D
monochromatic
#320A2C #651559 #981F86 #CB29B3 #DC55C8

Accessibility & contrast

On white

7.30
#981F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #981F86
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981F86#FFFFFF#000000##FFFFFF
##981F861.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B89
Deuteranopia (green-blind)
#4C5D83
Tritanopia (blue-blind)
#A02A52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #981f86;
/* rgb */ color: rgb(152, 31, 134);
/* oklch */ color: oklch(47.9% 0.189 335.2);
Tailwind
colors: {
  custom: {
    50: '#ba6aa9',
    500: '#981f86',
    950: '#000000',
  },
}
SCSS
$custom: #981f86;
$custom-light: #ba6aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#981f86",
  "rgb": {
    "r": 152,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 308.926,
    "s": 66.12,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47943,
    "c": 0.1887,
    "h": 335.2
  },
  "luminance": 0.09377
}

Semantic roles & 50–950 ramp

primary
#981F86
secondary
#53C063
accent
#E9583F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981F86

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

Preview Lab → · Contrast checker → · Palette generator →

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