#982BA9#982BA9

#982BA9 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.204 H 321.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#982BA9
RGBrgb(152, 43, 169)
HSLhsl(292, 59%, 42%)
HSVhsv(292, 75%, 66%)
CMYKcmyk(10.1%, 74.6%, 0%, 33.7%)
CIE-LABlab(40.03, 60.64, -44.94)
CIE-LCHlch(40.03, 75.48, 323.45°)
OKLaboklab(50.97% 0.1602 -0.1257)
OKLCHoklch(50.97% 0.204 321.9)
XYZxyz(20.9734, 11.2689, 38.5988)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982BA9 #3CA92B
analogous
#592BA9 #982BA9 #A92B7B
triadic
#982BA9 #A9982B #2BA998
tetradic
#982BA9 #A9592B #3CA92B #2B7BA9
square
#982BA9 #A9592B #3CA92B #2B7BA9
split-complementary
#982BA9 #7BA92B #2BA959
monochromatic
#401247 #6C1F78 #982BA9 #BC42CF #CD73DB

Accessibility & contrast

On white

6.45
#982BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#982BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982BA9
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982BA9#FFFFFF#000000##FFFFFF
##982BA91.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#3C62A6
Tritanopia (blue-blind)
#9A4368
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982ba9;
/* rgb */ color: rgb(152, 43, 169);
/* oklch */ color: oklch(51.0% 0.204 321.9);
Tailwind
colors: {
  custom: {
    50: '#ba70c3',
    500: '#982ba9',
    950: '#000000',
  },
}
SCSS
$custom: #982ba9;
$custom-light: #ba70c3;
$custom-dark: #000000;
JSON
{
  "hex": "#982ba9",
  "rgb": {
    "r": 152,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 291.905,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50967,
    "c": 0.20363,
    "h": 321.9
  },
  "luminance": 0.11268
}

Semantic roles & 50–950 ramp

primary
#982BA9
secondary
#79C36D
accent
#E3455A
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #982BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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