#981686#981686

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

Color values

HEX#981686
RGBrgb(152, 22, 134)
HSLhsl(308, 75%, 34%)
HSVhsv(308, 86%, 60%)
CMYKcmyk(0%, 85.5%, 11.8%, 40.4%)
CIE-LABlab(35.93, 60.82, -30.19)
CIE-LCHlch(35.93, 67.90, 333.60°)
OKLaboklab(47.39% 0.1779 -0.0827)
OKLCHoklch(47.39% 0.196 335.1)
XYZxyz(17.5391, 8.9721, 23.3577)
Luminance0.0897 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#981686 #169828
analogous
#691698 #981686 #981645
triadic
#981686 #869816 #168698
tetradic
#981686 #986916 #169828 #164598
square
#981686 #986916 #169828 #164598
split-complementary
#981686 #459816 #169869
monochromatic
#2D0728 #630E57 #981686 #CD1EB5 #E444CE

Accessibility & contrast

On white

7.52
#981686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#981686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #981686
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##981686#FFFFFF#000000##FFFFFF
##9816861.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154989
Deuteranopia (green-blind)
#4A5B83
Tritanopia (blue-blind)
#A02450
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #981686;
/* rgb */ color: rgb(152, 22, 134);
/* oklch */ color: oklch(47.4% 0.196 335.1);
Tailwind
colors: {
  custom: {
    50: '#ba67a9',
    500: '#981686',
    950: '#000000',
  },
}
SCSS
$custom: #981686;
$custom-light: #ba67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#981686",
  "rgb": {
    "r": 152,
    "g": 22,
    "b": 134
  },
  "hsl": {
    "h": 308.308,
    "s": 74.713,
    "l": 34.118
  },
  "oklch": {
    "l": 0.47391,
    "c": 0.19616,
    "h": 335.1
  },
  "luminance": 0.0897
}

Semantic roles & 50–950 ramp

primary
#981686
secondary
#45C557
accent
#F15036
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #981686

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

Preview Lab → · Contrast checker → · Palette generator →

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