#982FA8#982FA8

#982FA8 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.3% C 0.198 H 322.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#982FA8
RGBrgb(152, 47, 168)
HSLhsl(292, 56%, 42%)
HSVhsv(292, 72%, 66%)
CMYKcmyk(9.5%, 72%, 0%, 34.1%)
CIE-LABlab(40.47, 59.02, -43.64)
CIE-LCHlch(40.47, 73.40, 323.52°)
OKLaboklab(51.26% 0.1564 -0.1219)
OKLCHoklch(51.26% 0.198 322.1)
XYZxyz(21.0325, 11.5368, 38.1572)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FA8 #3FA82F
analogous
#5C2FA8 #982FA8 #A82F7C
triadic
#982FA8 #A8982F #2FA898
tetradic
#982FA8 #A85C2F #3FA82F #2F7CA8
square
#982FA8 #A85C2F #3FA82F #2F7CA8
split-complementary
#982FA8 #7CA82F #2FA85C
monochromatic
#411448 #6D2278 #982FA8 #BA48CC #CC78D9

Accessibility & contrast

On white

6.35
#982FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#982FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FA8
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FA8#FFFFFF#000000##FFFFFF
##982FA81.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#4063A5
Tritanopia (blue-blind)
#9A4569
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #982fa8;
/* rgb */ color: rgb(152, 47, 168);
/* oklch */ color: oklch(51.3% 0.198 322.1);
Tailwind
colors: {
  custom: {
    50: '#ba72c2',
    500: '#982fa8',
    950: '#000000',
  },
}
SCSS
$custom: #982fa8;
$custom-light: #ba72c2;
$custom-dark: #000000;
JSON
{
  "hex": "#982fa8",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 292.066,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51261,
    "c": 0.19831,
    "h": 322.1
  },
  "luminance": 0.11536
}

Semantic roles & 50–950 ramp

primary
#982FA8
secondary
#7CC171
accent
#E0485C
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #982FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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