#982BA6#982BA6

#982BA6 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.8% C 0.201 H 322.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#982BA6
RGBrgb(152, 43, 166)
HSLhsl(293, 59%, 41%)
HSVhsv(293, 74%, 65%)
CMYKcmyk(8.4%, 74.1%, 0%, 34.9%)
CIE-LABlab(39.84, 60.09, -43.45)
CIE-LCHlch(39.84, 74.15, 324.13°)
OKLaboklab(50.78% 0.1604 -0.1213)
OKLCHoklch(50.78% 0.201 322.9)
XYZxyz(20.6950, 11.1575, 37.1326)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982BA6 #39A62B
analogous
#5A2BA6 #982BA6 #A62B76
triadic
#982BA6 #A6982B #2BA698
tetradic
#982BA6 #A65A2B #39A62B #2B76A6
square
#982BA6 #A65A2B #39A62B #2B76A6
split-complementary
#982BA6 #76A62B #2BA65A
monochromatic
#3F1245 #6B1E75 #982BA6 #BE41CE #CE71DA

Accessibility & contrast

On white

6.50
#982BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#982BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982BA6
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982BA6#FFFFFF#000000##FFFFFF
##982BA61.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#3F62A3
Tritanopia (blue-blind)
#9A4266
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982ba6;
/* rgb */ color: rgb(152, 43, 166);
/* oklch */ color: oklch(50.8% 0.201 322.9);
Tailwind
colors: {
  custom: {
    50: '#ba70c1',
    500: '#982ba6',
    950: '#000000',
  },
}
SCSS
$custom: #982ba6;
$custom-light: #ba70c1;
$custom-dark: #000000;
JSON
{
  "hex": "#982ba6",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 293.171,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50776,
    "c": 0.20112,
    "h": 322.9
  },
  "luminance": 0.11156
}

Semantic roles & 50–950 ramp

primary
#982BA6
secondary
#75C16B
accent
#E24658
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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