#982F97#982F97

#982F97 is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.184 H 328.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#982F97
RGBrgb(152, 47, 151)
HSLhsl(301, 53%, 39%)
HSVhsv(301, 69%, 60%)
CMYKcmyk(0%, 69.1%, 0.7%, 40.4%)
CIE-LABlab(39.49, 55.99, -34.99)
CIE-LCHlch(39.49, 66.02, 328.00°)
OKLaboklab(50.24% 0.1566 -0.0967)
OKLCHoklch(50.24% 0.184 328.3)
XYZxyz(19.5511, 10.9442, 30.3548)
Luminance0.1094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982F97 #2F9830
analogous
#652F98 #982F97 #982F63
triadic
#982F97 #97982F #2F9798
tetradic
#982F97 #98652F #2F9830 #2F6398
square
#982F97 #98652F #2F9830 #2F6398
split-complementary
#982F97 #63982F #2F9865
monochromatic
#3B123A #692169 #982F97 #C440C3 #D26FD2

Accessibility & contrast

On white

6.59
#982F97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#982F97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982F97
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982F97#FFFFFF#000000##FFFFFF
##982F971.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#4A6294
Tritanopia (blue-blind)
#9D3E5F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982f97;
/* rgb */ color: rgb(152, 47, 151);
/* oklch */ color: oklch(50.2% 0.184 328.3);
Tailwind
colors: {
  custom: {
    50: '#ba71b6',
    500: '#982f97',
    950: '#000000',
  },
}
SCSS
$custom: #982f97;
$custom-light: #ba71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#982f97",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 300.571,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50239,
    "c": 0.18404,
    "h": 328.3
  },
  "luminance": 0.10943
}

Semantic roles & 50–950 ramp

primary
#982F97
secondary
#69BA6A
accent
#DC4D4C
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982F97

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

Preview Lab → · Contrast checker → · Palette generator →

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