#982F8A#982F8A

#982F8A is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.5% C 0.174 H 333.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#982F8A
RGBrgb(152, 47, 138)
HSLhsl(308, 53%, 39%)
HSVhsv(308, 69%, 60%)
CMYKcmyk(0%, 69.1%, 9.2%, 40.4%)
CIE-LABlab(38.80, 53.82, -28.14)
CIE-LCHlch(38.80, 60.73, 332.40°)
OKLaboklab(49.52% 0.1557 -0.077)
OKLCHoklch(49.52% 0.174 333.7)
XYZxyz(18.5530, 10.5449, 25.0981)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982F8A #2F983D
analogous
#722F98 #982F8A #982F56
triadic
#982F8A #8A982F #2F8A98
tetradic
#982F8A #98722F #2F983D #2F5698
square
#982F8A #98722F #2F983D #2F5698
split-complementary
#982F8A #56982F #2F9872
monochromatic
#3B1235 #692160 #982F8A #C440B2 #D26FC5

Accessibility & contrast

On white

6.76
#982F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#982F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982F8A
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982F8A#FFFFFF#000000##FFFFFF
##982F8A1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528D
Deuteranopia (green-blind)
#516187
Tritanopia (blue-blind)
#9F3858
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #982f8a;
/* rgb */ color: rgb(152, 47, 138);
/* oklch */ color: oklch(49.5% 0.174 333.7);
Tailwind
colors: {
  custom: {
    50: '#b971ac',
    500: '#982f8a',
    950: '#000000',
  },
}
SCSS
$custom: #982f8a;
$custom-light: #b971ac;
$custom-dark: #000000;
JSON
{
  "hex": "#982f8a",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 308,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49524,
    "c": 0.17369,
    "h": 333.7
  },
  "luminance": 0.10543
}

Semantic roles & 50–950 ramp

primary
#982F8A
secondary
#69BA74
accent
#DC5F4C
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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