#982C9E#982C9E

#982C9E is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.4% C 0.193 H 325.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#982C9E
RGBrgb(152, 44, 158)
HSLhsl(297, 56%, 40%)
HSVhsv(297, 72%, 62%)
CMYKcmyk(3.8%, 72.2%, 0%, 38%)
CIE-LABlab(39.49, 58.31, -39.21)
CIE-LCHlch(39.49, 70.27, 326.08°)
OKLaboklab(50.37% 0.1597 -0.109)
OKLCHoklch(50.37% 0.193 325.7)
XYZxyz(20.0207, 10.9467, 33.3995)
Luminance0.1095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982C9E #329E2C
analogous
#5F2C9E #982C9E #9E2C6B
triadic
#982C9E #9E982C #2C9E98
tetradic
#982C9E #9E5F2C #329E2C #2C6B9E
square
#982C9E #9E5F2C #329E2C #2C6B9E
split-complementary
#982C9E #6B9E2C #2C9E5F
monochromatic
#3C113E #6A1F6E #982C9E #C23EC9 #D16ED7

Accessibility & contrast

On white

6.59
#982C9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#982C9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982C9E
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982C9E#FFFFFF#000000##FFFFFF
##982C9E1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E54A1
Deuteranopia (green-blind)
#45629B
Tritanopia (blue-blind)
#9C3F62
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #982c9e;
/* rgb */ color: rgb(152, 44, 158);
/* oklch */ color: oklch(50.4% 0.193 325.7);
Tailwind
colors: {
  custom: {
    50: '#ba70bb',
    500: '#982c9e',
    950: '#000000',
  },
}
SCSS
$custom: #982c9e;
$custom-light: #ba70bb;
$custom-dark: #000000;
JSON
{
  "hex": "#982c9e",
  "rgb": {
    "r": 152,
    "g": 44,
    "b": 158
  },
  "hsl": {
    "h": 296.842,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50369,
    "c": 0.19337,
    "h": 325.7
  },
  "luminance": 0.10945
}

Semantic roles & 50–950 ramp

primary
#982C9E
secondary
#6DBE68
accent
#E04850
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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