#982F9E#982F9E

#982F9E is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.190 H 325.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#982F9E
RGBrgb(152, 47, 158)
HSLhsl(297, 54%, 40%)
HSVhsv(297, 70%, 62%)
CMYKcmyk(3.8%, 70.3%, 0%, 38%)
CIE-LABlab(39.88, 57.21, -38.59)
CIE-LCHlch(39.88, 69.01, 326.00°)
OKLaboklab(50.65% 0.1567 -0.1072)
OKLCHoklch(50.65% 0.19 325.6)
XYZxyz(20.1365, 11.1784, 33.4381)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#982F9E #359E2F
analogous
#612F9E #982F9E #9E2F6C
triadic
#982F9E #9E982F #2F9E98
tetradic
#982F9E #9E612F #359E2F #2F6C9E
square
#982F9E #9E612F #359E2F #2F6C9E
split-complementary
#982F9E #6C9E2F #2F9E61
monochromatic
#3D1340 #6B216F #982F9E #C043C7 #D072D5

Accessibility & contrast

On white

6.49
#982F9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#982F9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #982F9E
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##982F9E#FFFFFF#000000##FFFFFF
##982F9E1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1556A1
Deuteranopia (green-blind)
#46629B
Tritanopia (blue-blind)
#9C4163
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #982f9e;
/* rgb */ color: rgb(152, 47, 158);
/* oklch */ color: oklch(50.6% 0.190 325.6);
Tailwind
colors: {
  custom: {
    50: '#ba71bb',
    500: '#982f9e',
    950: '#000000',
  },
}
SCSS
$custom: #982f9e;
$custom-light: #ba71bb;
$custom-dark: #000000;
JSON
{
  "hex": "#982f9e",
  "rgb": {
    "r": 152,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 296.757,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50648,
    "c": 0.18984,
    "h": 325.6
  },
  "luminance": 0.11177
}

Semantic roles & 50–950 ramp

primary
#982F9E
secondary
#70BD6C
accent
#DE4A52
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #982F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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