#981687#981687

#981687 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.197 H 334.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#981687
RGBrgb(152, 22, 135)
HSLhsl(308, 75%, 34%)
HSVhsv(308, 86%, 60%)
CMYKcmyk(0%, 85.5%, 11.2%, 40.4%)
CIE-LABlab(35.98, 60.97, -30.72)
CIE-LCHlch(35.98, 68.27, 333.25°)
OKLaboklab(47.45% 0.1779 -0.0842)
OKLCHoklch(47.45% 0.197 334.7)
XYZxyz(17.6092, 9.0001, 23.7268)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981687 #169827
analogous
#681698 #981687 #981646
triadic
#981687 #879816 #168798
tetradic
#981687 #986816 #169827 #164698
square
#981687 #986816 #169827 #164698
split-complementary
#981687 #469816 #169868
monochromatic
#2D0728 #630E58 #981687 #CD1EB6 #E444CF

Accessibility & contrast

On white

7.50
#981687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#981687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981687
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981687#FFFFFF#000000##FFFFFF
##9816871.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13498A
Deuteranopia (green-blind)
#495B84
Tritanopia (blue-blind)
#A02550
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #981687;
/* rgb */ color: rgb(152, 22, 135);
/* oklch */ color: oklch(47.4% 0.197 334.7);
Tailwind
colors: {
  custom: {
    50: '#ba67aa',
    500: '#981687',
    950: '#000000',
  },
}
SCSS
$custom: #981687;
$custom-light: #ba67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#981687",
  "rgb": {
    "r": 152,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 307.846,
    "s": 74.713,
    "l": 34.118
  },
  "oklch": {
    "l": 0.47447,
    "c": 0.19685,
    "h": 334.7
  },
  "luminance": 0.08998
}

Semantic roles & 50–950 ramp

primary
#981687
secondary
#45C556
accent
#F14F36
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981687

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

Preview Lab → · Contrast checker → · Palette generator →

#981687 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva