#982F8B#982F8B

#982F8B is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.6% C 0.174 H 333.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#982F8B
RGBrgb(152, 47, 139)
HSLhsl(307, 53%, 39%)
HSVhsv(307, 69%, 60%)
CMYKcmyk(0%, 69.1%, 8.6%, 40.4%)
CIE-LABlab(38.85, 53.98, -28.67)
CIE-LCHlch(38.85, 61.13, 332.02°)
OKLaboklab(49.58% 0.1558 -0.0785)
OKLCHoklch(49.58% 0.174 333.3)
XYZxyz(18.6257, 10.5740, 25.4811)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982F8B #2F983C
analogous
#712F98 #982F8B #982F57
triadic
#982F8B #8B982F #2F8B98
tetradic
#982F8B #98712F #2F983C #2F5798
square
#982F8B #98712F #2F983C #2F5798
split-complementary
#982F8B #57982F #2F9871
monochromatic
#3B1236 #692160 #982F8B #C440B4 #D26FC6

Accessibility & contrast

On white

6.74
#982F8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #982F8B
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982F8B#FFFFFF#000000##FFFFFF
##982F8B1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528E
Deuteranopia (green-blind)
#506188
Tritanopia (blue-blind)
#9F3859
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #982f8b;
/* rgb */ color: rgb(152, 47, 139);
/* oklch */ color: oklch(49.6% 0.174 333.3);
Tailwind
colors: {
  custom: {
    50: '#b971ad',
    500: '#982f8b',
    950: '#000000',
  },
}
SCSS
$custom: #982f8b;
$custom-light: #b971ad;
$custom-dark: #000000;
JSON
{
  "hex": "#982f8b",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 139
  },
  "hsl": {
    "h": 307.429,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49576,
    "c": 0.17447,
    "h": 333.3
  },
  "luminance": 0.10573
}

Semantic roles & 50–950 ramp

primary
#982F8B
secondary
#69BA73
accent
#DC5E4C
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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