#982BAC#982BAC

#982BAC is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.206 H 320.9°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#982BAC
RGBrgb(152, 43, 172)
HSLhsl(291, 60%, 42%)
HSVhsv(291, 75%, 67%)
CMYKcmyk(11.6%, 75%, 0%, 32.5%)
CIE-LABlab(40.22, 61.19, -46.43)
CIE-LCHlch(40.22, 76.81, 322.81°)
OKLaboklab(51.16% 0.16 -0.1301)
OKLCHoklch(51.16% 0.206 320.9)
XYZxyz(21.2583, 11.3829, 40.0991)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982BAC #3FAC2B
analogous
#582BAC #982BAC #AC2B7F
triadic
#982BAC #AC982B #2BAC98
tetradic
#982BAC #AC582B #3FAC2B #2B7FAC
square
#982BAC #AC582B #3FAC2B #2B7FAC
split-complementary
#982BAC #7FAC2B #2BAC58
monochromatic
#41134A #6D1F7B #982BAC #BA44D0 #CC75DC

Accessibility & contrast

On white

6.41
#982BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#982BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982BAC
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982BAC#FFFFFF#000000##FFFFFF
##982BAC1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#3A63A9
Tritanopia (blue-blind)
#99456A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #982bac;
/* rgb */ color: rgb(152, 43, 172);
/* oklch */ color: oklch(51.2% 0.206 320.9);
Tailwind
colors: {
  custom: {
    50: '#ba70c5',
    500: '#982bac',
    950: '#000000',
  },
}
SCSS
$custom: #982bac;
$custom-light: #ba70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#982bac",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 290.698,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51161,
    "c": 0.20616,
    "h": 320.9
  },
  "luminance": 0.11382
}

Semantic roles & 50–950 ramp

primary
#982BAC
secondary
#7CC46F
accent
#E3455D
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #982BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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