#982B9A#982B9A

#982B9A is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.191 H 327.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#982B9A
RGBrgb(152, 43, 154)
HSLhsl(299, 56%, 39%)
HSVhsv(299, 72%, 60%)
CMYKcmyk(1.3%, 72.1%, 0%, 39.6%)
CIE-LABlab(39.13, 57.98, -37.36)
CIE-LCHlch(39.13, 68.97, 327.20°)
OKLaboklab(50.04% 0.1608 -0.1036)
OKLCHoklch(50.04% 0.191 327.2)
XYZxyz(19.6452, 10.7376, 31.6034)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982B9A #2D9A2B
analogous
#602B9A #982B9A #9A2B64
triadic
#982B9A #9A982B #2B9A98
tetradic
#982B9A #9A602B #2D9A2B #2B649A
square
#982B9A #9A602B #2D9A2B #2B649A
split-complementary
#982B9A #649A2B #2B9A60
monochromatic
#3A103A #691E6A #982B9A #C53AC8 #D36AD5

Accessibility & contrast

On white

6.67
#982B9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#982B9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982B9A
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982B9A#FFFFFF#000000##FFFFFF
##982B9A1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14539D
Deuteranopia (green-blind)
#476197
Tritanopia (blue-blind)
#9C3C60
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #982b9a;
/* rgb */ color: rgb(152, 43, 154);
/* oklch */ color: oklch(50.0% 0.191 327.2);
Tailwind
colors: {
  custom: {
    50: '#ba6fb8',
    500: '#982b9a',
    950: '#000000',
  },
}
SCSS
$custom: #982b9a;
$custom-light: #ba6fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#982b9a",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 154
  },
  "hsl": {
    "h": 298.919,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5004,
    "c": 0.19125,
    "h": 327.2
  },
  "luminance": 0.10736
}

Semantic roles & 50–950 ramp

primary
#982B9A
secondary
#66BC65
accent
#E0484B
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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