#982A9C#982A9C

#982A9C is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.194 H 326.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#982A9C
RGBrgb(152, 42, 156)
HSLhsl(298, 58%, 39%)
HSVhsv(298, 73%, 61%)
CMYKcmyk(2.6%, 73.1%, 0%, 38.8%)
CIE-LABlab(39.13, 58.67, -38.58)
CIE-LCHlch(39.13, 70.22, 326.67°)
OKLaboklab(50.07% 0.1617 -0.1071)
OKLCHoklch(50.07% 0.194 326.5)
XYZxyz(19.7772, 10.7330, 32.4760)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982A9C #2E9C2A
analogous
#5F2A9C #982A9C #9C2A67
triadic
#982A9C #9C982A #2A9C98
tetradic
#982A9C #9C5F2A #2E9C2A #2A679C
square
#982A9C #9C5F2A #2E9C2A #2A679C
split-complementary
#982A9C #679C2A #2A9C5F
monochromatic
#3A103C #691D6C #982A9C #C539CA #D36AD7

Accessibility & contrast

On white

6.67
#982A9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #982A9C
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982A9C#FFFFFF#000000##FFFFFF
##982A9C1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D539F
Deuteranopia (green-blind)
#456199
Tritanopia (blue-blind)
#9C3D61
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #982a9c;
/* rgb */ color: rgb(152, 42, 156);
/* oklch */ color: oklch(50.1% 0.194 326.5);
Tailwind
colors: {
  custom: {
    50: '#ba6fba',
    500: '#982a9c',
    950: '#000000',
  },
}
SCSS
$custom: #982a9c;
$custom-light: #ba6fba;
$custom-dark: #000000;
JSON
{
  "hex": "#982a9c",
  "rgb": {
    "r": 152,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 297.895,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50072,
    "c": 0.194,
    "h": 326.5
  },
  "luminance": 0.10732
}

Semantic roles & 50–950 ramp

primary
#982A9C
secondary
#68BD65
accent
#E1474C
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #982A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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