#982FAC#982FAC

#982FAC is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.5% C 0.202 H 320.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#982FAC
RGBrgb(152, 47, 172)
HSLhsl(290, 57%, 43%)
HSVhsv(290, 73%, 67%)
CMYKcmyk(11.6%, 72.7%, 0%, 32.5%)
CIE-LABlab(40.72, 59.76, -45.63)
CIE-LCHlch(40.72, 75.19, 322.64°)
OKLaboklab(51.52% 0.1562 -0.1277)
OKLCHoklch(51.52% 0.202 320.7)
XYZxyz(21.4109, 11.6881, 40.1500)
Luminance0.1169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982FAC #43AC2F
analogous
#592FAC #982FAC #AC2F81
triadic
#982FAC #AC982F #2FAC98
tetradic
#982FAC #AC592F #43AC2F #2F81AC
square
#982FAC #AC592F #43AC2F #2F81AC
split-complementary
#982FAC #81AC2F #2FAC59
monochromatic
#43154C #6E227C #982FAC #B94BCE #CB7BDB

Accessibility & contrast

On white

6.29
#982FAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#982FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982FAC
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982FAC#FFFFFF#000000##FFFFFF
##982FAC1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#3C64A9
Tritanopia (blue-blind)
#99476B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #982fac;
/* rgb */ color: rgb(152, 47, 172);
/* oklch */ color: oklch(51.5% 0.202 320.7);
Tailwind
colors: {
  custom: {
    50: '#ba72c5',
    500: '#982fac',
    950: '#000000',
  },
}
SCSS
$custom: #982fac;
$custom-light: #ba72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#982fac",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 290.4,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51515,
    "c": 0.20176,
    "h": 320.7
  },
  "luminance": 0.11687
}

Semantic roles & 50–950 ramp

primary
#982FAC
secondary
#80C374
accent
#E04760
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #982FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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