#982F8D#982F8D

#982F8D is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.7% C 0.176 H 332.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#982F8D
RGBrgb(152, 47, 141)
HSLhsl(306, 53%, 39%)
HSVhsv(306, 69%, 60%)
CMYKcmyk(0%, 69.1%, 7.2%, 40.4%)
CIE-LABlab(38.96, 54.31, -29.74)
CIE-LCHlch(38.96, 61.92, 331.30°)
OKLaboklab(49.68% 0.156 -0.0816)
OKLCHoklch(49.68% 0.176 332.4)
XYZxyz(18.7732, 10.6330, 26.2578)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982F8D #2F983A
analogous
#6F2F98 #982F8D #982F59
triadic
#982F8D #8D982F #2F8D98
tetradic
#982F8D #986F2F #2F983A #2F5998
square
#982F8D #986F2F #2F983A #2F5998
split-complementary
#982F8D #59982F #2F986F
monochromatic
#3B1236 #692162 #982F8D #C440B6 #D26FC8

Accessibility & contrast

On white

6.72
#982F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#982F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982F8D
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982F8D#FFFFFF#000000##FFFFFF
##982F8D1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5290
Deuteranopia (green-blind)
#4F618A
Tritanopia (blue-blind)
#9F395A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #982f8d;
/* rgb */ color: rgb(152, 47, 141);
/* oklch */ color: oklch(49.7% 0.176 332.4);
Tailwind
colors: {
  custom: {
    50: '#b971ae',
    500: '#982f8d',
    950: '#000000',
  },
}
SCSS
$custom: #982f8d;
$custom-light: #b971ae;
$custom-dark: #000000;
JSON
{
  "hex": "#982f8d",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 306.286,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.49683,
    "c": 0.17602,
    "h": 332.4
  },
  "luminance": 0.10632
}

Semantic roles & 50–950 ramp

primary
#982F8D
secondary
#69BA71
accent
#DC5B4C
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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