#982A8D#982A8D

#982A8D is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.2% C 0.182 H 332.4°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#982A8D
RGBrgb(152, 42, 141)
HSLhsl(306, 57%, 38%)
HSVhsv(306, 72%, 60%)
CMYKcmyk(0%, 72.4%, 7.2%, 40.4%)
CIE-LABlab(38.30, 56.16, -30.77)
CIE-LCHlch(38.30, 64.04, 331.28°)
OKLaboklab(49.21% 0.1614 -0.0845)
OKLCHoklch(49.21% 0.182 332.4)
XYZxyz(18.5846, 10.2559, 26.1949)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982A8D #2A9835
analogous
#6C2A98 #982A8D #982A56
triadic
#982A8D #8D982A #2A8D98
tetradic
#982A8D #986C2A #2A9835 #2A5698
square
#982A8D #986C2A #2A9835 #2A5698
split-complementary
#982A8D #56982A #2A986C
monochromatic
#381034 #681D61 #982A8D #C837B9 #D567CA

Accessibility & contrast

On white

6.88
#982A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#982A8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982A8D
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982A8D#FFFFFF#000000##FFFFFF
##982A8D1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245090
Deuteranopia (green-blind)
#4D608A
Tritanopia (blue-blind)
#9F3658
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #982a8d;
/* rgb */ color: rgb(152, 42, 141);
/* oklch */ color: oklch(49.2% 0.182 332.4);
Tailwind
colors: {
  custom: {
    50: '#ba6eae',
    500: '#982a8d',
    950: '#000000',
  },
}
SCSS
$custom: #982a8d;
$custom-light: #ba6eae;
$custom-dark: #000000;
JSON
{
  "hex": "#982a8d",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 141
  },
  "hsl": {
    "h": 306,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49209,
    "c": 0.18217,
    "h": 332.4
  },
  "luminance": 0.10254
}

Semantic roles & 50–950 ramp

primary
#982A8D
secondary
#62BB6B
accent
#E05748
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #982A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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