#982F96#982F96

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

Color values

HEX#982F96
RGBrgb(152, 47, 150)
HSLhsl(301, 53%, 39%)
HSVhsv(301, 69%, 60%)
CMYKcmyk(0%, 69.1%, 1.3%, 40.4%)
CIE-LABlab(39.43, 55.82, -34.47)
CIE-LCHlch(39.43, 65.60, 328.30°)
OKLaboklab(50.18% 0.1565 -0.0952)
OKLCHoklch(50.18% 0.183 328.7)
XYZxyz(19.4702, 10.9118, 29.9289)
Luminance0.1091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982F96 #2F9831
analogous
#662F98 #982F96 #982F62
triadic
#982F96 #96982F #2F9698
tetradic
#982F96 #98662F #2F9831 #2F6298
square
#982F96 #98662F #2F9831 #2F6298
split-complementary
#982F96 #62982F #2F9866
monochromatic
#3B123A #692168 #982F96 #C440C1 #D26FD1

Accessibility & contrast

On white

6.60
#982F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#982F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982F96
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982F96#FFFFFF#000000##FFFFFF
##982F961.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215499
Deuteranopia (green-blind)
#4B6293
Tritanopia (blue-blind)
#9D3D5F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982f96;
/* rgb */ color: rgb(152, 47, 150);
/* oklch */ color: oklch(50.2% 0.183 328.7);
Tailwind
colors: {
  custom: {
    50: '#ba71b5',
    500: '#982f96',
    950: '#000000',
  },
}
SCSS
$custom: #982f96;
$custom-light: #ba71b5;
$custom-dark: #000000;
JSON
{
  "hex": "#982f96",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 301.143,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50181,
    "c": 0.18322,
    "h": 328.7
  },
  "luminance": 0.1091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #982F96

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

Preview Lab → · Contrast checker → · Palette generator →

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