#982C9F#982C9F

#982C9F is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.4% C 0.194 H 325.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#982C9F
RGBrgb(152, 44, 159)
HSLhsl(296, 57%, 40%)
HSVhsv(296, 72%, 62%)
CMYKcmyk(4.4%, 72.3%, 0%, 37.6%)
CIE-LABlab(39.55, 58.49, -39.72)
CIE-LCHlch(39.55, 70.70, 325.82°)
OKLaboklab(50.43% 0.1597 -0.1105)
OKLCHoklch(50.43% 0.194 325.3)
XYZxyz(20.1071, 10.9813, 33.8547)
Luminance0.1098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982C9F #339F2C
analogous
#5F2C9F #982C9F #9F2C6C
triadic
#982C9F #9F982C #2C9F98
tetradic
#982C9F #9F5F2C #339F2C #2C6C9F
square
#982C9F #9F5F2C #339F2C #2C6C9F
split-complementary
#982C9F #6C9F2C #2C9F5F
monochromatic
#3C113F #6A1F6F #982C9F #C13ECA #D16ED7

Accessibility & contrast

On white

6.57
#982C9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#982C9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982C9F
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982C9F#FFFFFF#000000##FFFFFF
##982C9F1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B55A2
Deuteranopia (green-blind)
#44629C
Tritanopia (blue-blind)
#9C3F63
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982c9f;
/* rgb */ color: rgb(152, 44, 159);
/* oklch */ color: oklch(50.4% 0.194 325.3);
Tailwind
colors: {
  custom: {
    50: '#ba70bc',
    500: '#982c9f',
    950: '#000000',
  },
}
SCSS
$custom: #982c9f;
$custom-light: #ba70bc;
$custom-dark: #000000;
JSON
{
  "hex": "#982c9f",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 296.348,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5043,
    "c": 0.1942,
    "h": 325.3
  },
  "luminance": 0.1098
}

Semantic roles & 50–950 ramp

primary
#982C9F
secondary
#6EBE69
accent
#E04851
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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