#982B9C#982B9C

#982B9C is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.193 H 326.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#982B9C
RGBrgb(152, 43, 156)
HSLhsl(298, 57%, 39%)
HSVhsv(298, 72%, 61%)
CMYKcmyk(2.6%, 72.4%, 0%, 38.8%)
CIE-LABlab(39.25, 58.32, -38.39)
CIE-LCHlch(39.25, 69.82, 326.65°)
OKLaboklab(50.16% 0.1608 -0.1066)
OKLCHoklch(50.16% 0.193 326.5)
XYZxyz(19.8132, 10.8048, 32.4880)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982B9C #2F9C2B
analogous
#602B9C #982B9C #9C2B68
triadic
#982B9C #9C982B #2B9C98
tetradic
#982B9C #9C602B #2F9C2B #2B689C
square
#982B9C #9C602B #2F9C2B #2B689C
split-complementary
#982B9C #689C2B #2B9C60
monochromatic
#3B113C #691E6C #982B9C #C43BC9 #D26BD6

Accessibility & contrast

On white

6.64
#982B9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#982B9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982B9C
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982B9C#FFFFFF#000000##FFFFFF
##982B9C1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10549F
Deuteranopia (green-blind)
#456199
Tritanopia (blue-blind)
#9C3D61
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #982b9c;
/* rgb */ color: rgb(152, 43, 156);
/* oklch */ color: oklch(50.2% 0.193 326.5);
Tailwind
colors: {
  custom: {
    50: '#ba6fba',
    500: '#982b9c',
    950: '#000000',
  },
}
SCSS
$custom: #982b9c;
$custom-light: #ba6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#982b9c",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 156
  },
  "hsl": {
    "h": 297.876,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.5016,
    "c": 0.19287,
    "h": 326.5
  },
  "luminance": 0.10803
}

Semantic roles & 50–950 ramp

primary
#982B9C
secondary
#69BD66
accent
#E0484D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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