#982B97#982B97

#982B97 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.9% C 0.189 H 328.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#982B97
RGBrgb(152, 43, 151)
HSLhsl(301, 56%, 38%)
HSVhsv(301, 72%, 60%)
CMYKcmyk(0%, 71.7%, 0.7%, 40.4%)
CIE-LABlab(38.97, 57.46, -35.81)
CIE-LCHlch(38.97, 67.71, 328.07°)
OKLaboklab(49.86% 0.1607 -0.0991)
OKLCHoklch(49.86% 0.189 328.3)
XYZxyz(19.3985, 10.6389, 30.3040)
Luminance0.1064 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982B97 #2B982C
analogous
#622B98 #982B97 #982B61
triadic
#982B97 #97982B #2B9798
tetradic
#982B97 #98622B #2B982C #2B6198
square
#982B97 #98622B #2B982C #2B6198
split-complementary
#982B97 #61982B #2B9862
monochromatic
#391038 #681E68 #982B97 #C739C6 #D569D4

Accessibility & contrast

On white

6.71
#982B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#982B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982B97
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982B97#FFFFFF#000000##FFFFFF
##982B971.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19539A
Deuteranopia (green-blind)
#486194
Tritanopia (blue-blind)
#9D3B5E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #982b97;
/* rgb */ color: rgb(152, 43, 151);
/* oklch */ color: oklch(49.9% 0.189 328.3);
Tailwind
colors: {
  custom: {
    50: '#ba6fb6',
    500: '#982b97',
    950: '#000000',
  },
}
SCSS
$custom: #982b97;
$custom-light: #ba6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#982b97",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 300.55,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49864,
    "c": 0.18883,
    "h": 328.3
  },
  "luminance": 0.10638
}

Semantic roles & 50–950 ramp

primary
#982B97
secondary
#64BB65
accent
#DF4A49
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982B97

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

Preview Lab → · Contrast checker → · Palette generator →

#982B97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva