#982FA5#982FA5

#982FA5 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.196 H 323.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#982FA5
RGBrgb(152, 47, 165)
HSLhsl(293, 56%, 42%)
HSVhsv(293, 72%, 65%)
CMYKcmyk(7.9%, 71.5%, 0%, 35.3%)
CIE-LABlab(40.29, 58.47, -42.14)
CIE-LCHlch(40.29, 72.07, 324.22°)
OKLaboklab(51.07% 0.1565 -0.1175)
OKLCHoklch(51.07% 0.196 323.1)
XYZxyz(20.7563, 11.4263, 36.7022)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FA5 #3CA52F
analogous
#5D2FA5 #982FA5 #A52F77
triadic
#982FA5 #A5982F #2FA598
tetradic
#982FA5 #A55D2F #3CA52F #2F77A5
square
#982FA5 #A55D2F #3CA52F #2F77A5
split-complementary
#982FA5 #77A52F #2FA55D
monochromatic
#401446 #6C2175 #982FA5 #BC47CB #CD76D8

Accessibility & contrast

On white

6.39
#982FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#982FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FA5
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FA5#FFFFFF#000000##FFFFFF
##982FA51.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0257A8
Deuteranopia (green-blind)
#4263A2
Tritanopia (blue-blind)
#9A4467
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #982fa5;
/* rgb */ color: rgb(152, 47, 165);
/* oklch */ color: oklch(51.1% 0.196 323.1);
Tailwind
colors: {
  custom: {
    50: '#ba72c0',
    500: '#982fa5',
    950: '#000000',
  },
}
SCSS
$custom: #982fa5;
$custom-light: #ba72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#982fa5",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 293.39,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51074,
    "c": 0.19575,
    "h": 323.1
  },
  "luminance": 0.11425
}

Semantic roles & 50–950 ramp

primary
#982FA5
secondary
#79C070
accent
#DF4959
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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