#982A8A#982A8A

#982A8A is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.0% C 0.180 H 333.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#982A8A
RGBrgb(152, 42, 138)
HSLhsl(308, 57%, 38%)
HSVhsv(308, 72%, 60%)
CMYKcmyk(0%, 72.4%, 9.2%, 40.4%)
CIE-LABlab(38.14, 55.69, -29.18)
CIE-LCHlch(38.14, 62.87, 332.35°)
OKLaboklab(49.05% 0.1612 -0.0799)
OKLCHoklch(49.05% 0.18 333.6)
XYZxyz(18.3644, 10.1678, 25.0352)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982A8A #2A9838
analogous
#6F2A98 #982A8A #982A53
triadic
#982A8A #8A982A #2A8A98
tetradic
#982A8A #986F2A #2A9838 #2A5398
square
#982A8A #986F2A #2A9838 #2A5398
split-complementary
#982A8A #53982A #2A986F
monochromatic
#381033 #681D5E #982A8A #C837B5 #D567C7

Accessibility & contrast

On white

6.92
#982A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#982A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982A8A
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982A8A#FFFFFF#000000##FFFFFF
##982A8A1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27508D
Deuteranopia (green-blind)
#4F5F87
Tritanopia (blue-blind)
#9F3457
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982a8a;
/* rgb */ color: rgb(152, 42, 138);
/* oklch */ color: oklch(49.0% 0.180 333.6);
Tailwind
colors: {
  custom: {
    50: '#ba6eac',
    500: '#982a8a',
    950: '#000000',
  },
}
SCSS
$custom: #982a8a;
$custom-light: #ba6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#982a8a",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 307.636,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49046,
    "c": 0.17989,
    "h": 333.6
  },
  "luminance": 0.10166
}

Semantic roles & 50–950 ramp

primary
#982A8A
secondary
#62BB6E
accent
#E05B48
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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