#982FA0#982FA0

#982FA0 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.192 H 324.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#982FA0
RGBrgb(152, 47, 160)
HSLhsl(296, 55%, 41%)
HSVhsv(296, 71%, 63%)
CMYKcmyk(5%, 70.6%, 0%, 37.3%)
CIE-LABlab(39.99, 57.57, -39.61)
CIE-LCHlch(39.99, 69.88, 325.47°)
OKLaboklab(50.77% 0.1567 -0.1102)
OKLCHoklch(50.77% 0.192 324.9)
XYZxyz(20.3101, 11.2478, 34.3522)
Luminance0.1125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FA0 #37A02F
analogous
#5F2FA0 #982FA0 #A02F6F
triadic
#982FA0 #A0982F #2FA098
tetradic
#982FA0 #A05F2F #37A02F #2F6FA0
square
#982FA0 #A05F2F #37A02F #2F6FA0
split-complementary
#982FA0 #6FA02F #2FA05F
monochromatic
#3E1341 #6B2171 #982FA0 #BF44C8 #CF73D6

Accessibility & contrast

On white

6.46
#982FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#982FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FA0
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FA0#FFFFFF#000000##FFFFFF
##982FA01.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1156A3
Deuteranopia (green-blind)
#45639D
Tritanopia (blue-blind)
#9B4264
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982fa0;
/* rgb */ color: rgb(152, 47, 160);
/* oklch */ color: oklch(50.8% 0.192 324.9);
Tailwind
colors: {
  custom: {
    50: '#ba71bc',
    500: '#982fa0',
    950: '#000000',
  },
}
SCSS
$custom: #982fa0;
$custom-light: #ba71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#982fa0",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 295.752,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50768,
    "c": 0.19151,
    "h": 324.9
  },
  "luminance": 0.11246
}

Semantic roles & 50–950 ramp

primary
#982FA0
secondary
#73BE6D
accent
#DE4A54
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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