#982A9D#982A9D

#982A9D is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.195 H 326.1°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#982A9D
RGBrgb(152, 42, 157)
HSLhsl(297, 58%, 39%)
HSVhsv(297, 73%, 62%)
CMYKcmyk(3.2%, 73.2%, 0%, 38.4%)
CIE-LABlab(39.19, 58.84, -39.09)
CIE-LCHlch(39.19, 70.65, 326.40°)
OKLaboklab(50.13% 0.1617 -0.1086)
OKLCHoklch(50.13% 0.195 326.1)
XYZxyz(19.8623, 10.7670, 32.9238)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982A9D #2F9D2A
analogous
#5F2A9D #982A9D #9D2A69
triadic
#982A9D #9D982A #2A9D98
tetradic
#982A9D #9D5F2A #2F9D2A #2A699D
square
#982A9D #9D5F2A #2F9D2A #2A699D
split-complementary
#982A9D #699D2A #2A9D5F
monochromatic
#3B103C #691D6D #982A9D #C43ACA #D26AD7

Accessibility & contrast

On white

6.66
#982A9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#982A9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982A9D
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982A9D#FFFFFF#000000##FFFFFF
##982A9D1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A54A0
Deuteranopia (green-blind)
#44619A
Tritanopia (blue-blind)
#9C3D61
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #982a9d;
/* rgb */ color: rgb(152, 42, 157);
/* oklch */ color: oklch(50.1% 0.195 326.1);
Tailwind
colors: {
  custom: {
    50: '#ba6fba',
    500: '#982a9d',
    950: '#000000',
  },
}
SCSS
$custom: #982a9d;
$custom-light: #ba6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#982a9d",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 157
  },
  "hsl": {
    "h": 297.391,
    "s": 57.789,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50132,
    "c": 0.1948,
    "h": 326.1
  },
  "luminance": 0.10766
}

Semantic roles & 50–950 ramp

primary
#982A9D
secondary
#69BE65
accent
#E1474D
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982A9D

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

Preview Lab → · Contrast checker → · Palette generator →

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